Merge branch '1page' of github.com:/finalsclubdev/FinalsClub
[oweals/finalsclub.git] / util / CloudWatch-1.0.12.1 / bin / mon-disable-alarm-actions.cmd
1 @call echo-helper
2 @echo off
3
4 setlocal
5
6 REM Set intermediate env vars because the %VAR:x=y% notation below
7 REM (which replaces the string x with the string y in VAR)
8 REM doesn't handle undefined environment variables. This way
9 REM we're always dealing with defined variables in those tests.
10 set CHK_HOME=_%AWS_CLOUDWATCH_HOME%
11
12 if "%CHK_HOME:"=%" == "_" goto HOME_MISSING
13
14 "%AWS_CLOUDWATCH_HOME:"=%\bin\mon-cmd.cmd" mon-disable-alarm-actions %*
15 goto DONE
16 :HOME_MISSING
17 echo AWS_CLOUDWATCH_HOME is not set
18 exit /b 1
19
20 :DONE
21 endlocal