Revision 1326 trunk/scripts/admb/root-admb.bat

root-admb.bat (revision 1326)
13 13
    set ADMB_PATH=%%~dpa
14 14
  )
15 15
)
16
if exist !ADMB_PATH!build\dist\bin\admb.bat (
17
  set ADMB_HOME=!ADMB_PATH!build\dist
16
if exist !ADMB_PATH!\bin\admb.bat (
17
  set ADMB_HOME=!ADMB_PATH!
18 18
  call "!ADMB_HOME!\bin\admb.bat" %*
19
)
20
else (
21
  if exist !ADMB_PATH!\bin\admb.bat (
22
    set ADMB_HOME=!ADMB_PATH!
19
) else (
20
  if exist !ADMB_PATH!build\dist\bin\admb.bat (
21
    set ADMB_HOME=!ADMB_PATH!build\dist
23 22
    call "!ADMB_HOME!\bin\admb.bat" %*
24 23
  )
25 24
)

Also available in: Unified diff