~ubuntu-branches/ubuntu/wily/rdscli/wily

« back to all changes in this revision

Viewing changes to bin/rds-create-db-security-group.cmd

  • Committer: Bazaar Package Importer
  • Author(s): Scott Moser
  • Date: 2011-06-20 00:54:04 UTC
  • Revision ID: james.westby@ubuntu.com-20110620005404-tj4toxtv1aan9pfc
Tags: upstream-1.4.006
ImportĀ upstreamĀ versionĀ 1.4.006

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
@echo off
 
2
 
 
3
setlocal
 
4
 
 
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_RDS_HOME%
 
10
 
 
11
if "%CHK_HOME:"=%" == "_" goto HOME_MISSING
 
12
 
 
13
"%AWS_RDS_HOME:"=%\bin\rds.cmd" rds-create-db-security-group %*
 
14
goto DONE
 
15
:HOME_MISSING
 
16
echo AWS_RDS_HOME is not set
 
17
exit /b 1
 
18
 
 
19
:DONE
 
 
b'\\ No newline at end of file'