Revision 1323

trunk/scripts/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
trunk/scripts/admb/root-admb.bat (revision 1323)
15 15
)
16 16
if exist !ADMB_PATH!build\dist\bin\admb.bat (
17 17
  set ADMB_HOME=!ADMB_PATH!build\dist
18
  call "!ADMB_HOME!\bin\admb.bat" %*
18 19
)
19 20
else (
20 21
  if exist !ADMB_PATH!\bin\admb.bat (
21 22
    set ADMB_HOME=!ADMB_PATH!
23
    call "!ADMB_HOME!\bin\admb.bat" %*
22 24
  )
23 25
)
24
call "!ADMB_HOME!\bin\admb.bat" %*
25 26
exit 0

Also available in: Unified diff