Revision 1323 trunk/scripts/admb/root-admb

root-admb (revision 1323)
6 6

  
7 7
if [ -f "$PWD/build/dist/bin/admb" ]; then
8 8
  declare -rx ADMB_HOME="$PWD/build/dist"
9
  $(ADMB_HOME)/bin/admb $*
9 10
else
10 11
  if [ -f "$PWD/bin/admb" ]; then
11 12
    declare -rx ADMB_HOME="$PWD"
13
    $(ADMB_HOME)/bin/admb $*
12 14
  fi
13 15
fi
14 16

  
15
$(ADMB_HOME)/admb $*
16

  
17 17
exit 0

Also available in: Unified diff