diff options
Diffstat (limited to 'NetWare/bat/SetNWBld.bat')
-rw-r--r-- | NetWare/bat/SetNWBld.bat | 53 |
1 files changed, 25 insertions, 28 deletions
diff --git a/NetWare/bat/SetNWBld.bat b/NetWare/bat/SetNWBld.bat index 062c531186..851d90e507 100644 --- a/NetWare/bat/SetNWBld.bat +++ b/NetWare/bat/SetNWBld.bat @@ -1,9 +1,10 @@ @echo off -@rem AUTHOR: sgp +@rem AUTHOR: apc @rem CREATED: Thu 18th Jan 2001 09:18:08 @rem LAST REVISED: 6th April 2001 -@rem Batch file to set the path to NetWare SDK, Watcom directories & MPK SDK -@rem This file calls setnlmsdk.bat, setwatcom.bat & setmpksdk.bat +@rem LAST REVISED: 22nd May 2002 +@rem Batch file to set the path to Default Buildtype,NetWare SDK, CodeWarrior directories +@rem This file calls buildtype with release as defualt,setnlmsdk.bat, setCodeWar.bat & setmpksdk.bat and MpkBuild with off as default REM If no parameters are passed, display usage if "%1" == "" goto Usage @@ -15,48 +16,44 @@ if "%1" == "/now" goto now REM If na is passed, don't set that parameter if "%1" == "na" goto skip_nlmsdk_msg + :setnwsdk call setnlmsdk %1 goto skip_nlmsdk_nomsg :skip_nlmsdk_msg @echo Retaining NLMSDKBASE=%NLMSDKBASE% -:skip_nlmsdk_nomsg -if "%2" == "" goto exit -if "%2" == "na" goto skip_watcom_msg -:setwatcom -call setwatcom %2 -goto skip_watcom_nomsg - -:skip_watcom_msg -@echo Retaining WATCOM=%WATCOM% -:skip_watcom_nomsg +:skip_nlmsdk_nomsg +if "%2" == "" goto err_exit +if "%2" == "na" goto skip_cw_msg -if "%3" == "" goto exit -if "%3" == "na" goto skip_mpksdk_msg -:setmpk -call setmpksdk %3 -goto skip_mpksdk_nomsg +:setcodewar +call setcodewar %2 +goto skip_cw_nomsg -:skip_mpksdk_msg -@echo Retaining MPKBASE=%MPKBASE% -:skip_mpksdk_nomsg +:skip_cw_msg +@echo Retaining CODEWAR=%CODEWAR% +goto exit +:skip_cw_nomsg goto exit +:err_exit +@echo Not Enough Parameters +goto Usage + :now @echo NLMSDKBASE=%NLMSDKBASE% -@echo WATCOM=%WATCOM% -@echo MPKBASE=%MPKBASE% +@echo CODEWAR=%CODEWAR% goto exit -goto exit :Usage @echo on - @echo "Usage: setnwbld <path to NetWare SDK> [<path to Watcom dir>] [<path to MPK SDK>]" - @echo "Usage: setnwbld /now" - To display current setting + @echo "Usage: setnwdef <path to NetWare SDK> <path to CodeWarrior dir>" + @echo "Usage: setnwdef /now" - To display current setting @echo Pass na if you don't want to change a setting - @echo Ex. setnwbld d:\ndk\nwsdk na p:\mpk - @echo Ex. setnwbld d:\ndk\ + @echo Ex. setnwbld d:\ndk\nwsdk na + @echo Ex. setnwbld na d:\codewar + :exit |