Revision 986

trunk/scripts/admb/admb.bat (revision 986)
20 20
  set ADMB_HOME=!CD!
21 21
  popd
22 22
)
23
set PATH=!ADMB_HOME!\bin;"%PATH%"
23
if not "!MINGW_HOME!"=="" (
24
  set PATH=!ADMB_HOME!\bin;!MINGW_HOME!\bin;!PATH!
25
) else (
26
  set PATH=!ADMB_HOME!\bin;!PATH!
27
)
24 28

  
25 29
set srcs=
26 30
set tpls=
trunk/scripts/admb/root-admb.bat (revision 986)
17 17
    popd
18 18
  )
19 19
  if exist !ADMB_PATH!utilities\mingw\bin\g++.exe (
20
    PATH=!ADMB_PATH!utilities\mingw\bin;"%PATH%"
20
    set MINGW_HOME=!ADMB_PATH!utilities\mingw
21 21
  )
22 22
  call !ADMB_HOME!\bin\admb.bat %*
23 23
)

Also available in: Unified diff