5
REM Set intermediate env vars because the %VAR:x=y% notation below
6
REM (which replaces the string x with the string y in VAR)
7
REM doesn't handle undefined environment variables. This way
8
REM we're always dealing with defined variables in those tests.
9
set CHK_HOME=_%AWS_ELB_HOME%
11
if "%CHK_HOME:"=%" == "_" goto HOME_MISSING
13
"%AWS_ELB_HOME:"=%\bin\elb-cmd.cmd" elb-create-lb-policy %*
16
echo AWS_ELB_HOME is not set