annotate checkenv.cmd @ 60:d0b83fc1d62a default tip

Remember our input directory on a per-invocation basis.
author David Barts <n5jrn@me.com>
date Sun, 26 Jul 2020 15:14:03 -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