annotate checkenv.cmd @ 45:c9cf2b01c91c

Work around a launch4j bug.
author David Barts <davidb@stashtea.com>
date Sun, 03 May 2020 17:36:50 -0700
parents cd2ca4727b7f
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
22
cd2ca4727b7f Builds under Windows.
davidb
parents:
diff changeset
1 @echo off
cd2ca4727b7f Builds under Windows.
davidb
parents:
diff changeset
2 SETLOCAL EnableDelayedExpansion
cd2ca4727b7f Builds under Windows.
davidb
parents:
diff changeset
3
cd2ca4727b7f Builds under Windows.
davidb
parents:
diff changeset
4 for %%i in (%*) do (
cd2ca4727b7f Builds under Windows.
davidb
parents:
diff changeset
5 if "!%%i!"=="" (
cd2ca4727b7f Builds under Windows.
davidb
parents:
diff changeset
6 echo ERROR: %%i not set
cd2ca4727b7f Builds under Windows.
davidb
parents:
diff changeset
7 exit/b 1
cd2ca4727b7f Builds under Windows.
davidb
parents:
diff changeset
8 )
cd2ca4727b7f Builds under Windows.
davidb
parents:
diff changeset
9 )
cd2ca4727b7f Builds under Windows.
davidb
parents:
diff changeset
10
cd2ca4727b7f Builds under Windows.
davidb
parents:
diff changeset
11 exit/b 0