Revision 1413 trunk/scripts/admb/root-admb

root-admb (revision 1413)
5 5
shopt -s expand_aliases
6 6

  
7 7
SCRIPT_DIR=$(cd `dirname $0` && pwd)
8
if [ -f "$SCRIPT_DIR/build/dist/bin/admb" ]; then
8
if [ -f "$SCRIPT_DIR/build/dist/bin/admb.sh" ]; then
9 9
  declare -rx ADMB_HOME="$SCRIPT_DIR/build/dist"
10
  $ADMB_HOME/bin/admb $*
10
  $ADMB_HOME/bin/admb.sh $*
11 11
else
12
  if [ -f "$SCRIPT_DIR/bin/admb" ]; then
12
  if [ -f "$SCRIPT_DIR/bin/admb.sh" ]; then
13 13
    declare -rx ADMB_HOME="$SCRIPT_DIR"
14
    $ADMB_HOME/bin/admb $*
14
    $ADMB_HOME/bin/admb.sh $*
15 15
  fi
16 16
fi
17 17

  

Also available in: Unified diff