Commit | Line | Data |
2986a63f |
1 | @echo off |
2 | @rem AUTHOR: sgp |
3 | @rem CREATED: Sat Apr 14 13:05:44 2001 |
4 | @rem LAST REVISED: Sat Apr 14 2001 |
5 | @rem Batch file to toggle b/n building and not building NetWare |
6 | @rem specific extns - cgi2perl & perl2ucs. |
7 | |
8 | if "%1" == "" goto Usage |
9 | |
10 | if "%1" == "/now" goto now |
11 | if "%1" == "on" goto yes |
12 | if "%1" == "off" goto no |
13 | if "%1" == "/?" goto usage |
14 | if "%1" == "/h" goto usage |
15 | goto dontknow |
16 | |
17 | :now |
18 | if not "%NW_EXTNS%" == "yes" echo NW_EXTNS is removed, doesn't build NetWare specific extensions |
19 | if "%NW_EXTNS%" == "yes" echo NW_EXTNS is set, builds NetWare specific extensions |
20 | goto exit |
21 | |
22 | :yes |
23 | Set NW_EXTNS=yes |
24 | echo ....NW_EXTNS is set, builds NetWare specific extensions |
25 | goto exit |
26 | |
27 | :no |
28 | Set NW_EXTNS= |
29 | echo ....NW_EXTNS is removed, doesn't build NetWare specific extensions |
30 | goto exit |
31 | |
32 | :dontknow |
33 | goto Usage |
34 | |
35 | :Usage |
36 | @echo on |
37 | @echo "Usage: BldNWExt [on|off]" |
38 | @echo "Usage: BldNWExt /now" - To display current setting |
39 | :exit |