~ubuntu-branches/ubuntu/saucy/ec2-api-tools/saucy

« back to all changes in this revision

Viewing changes to bin/ec2crril.cmd

  • Committer: Package Import Robot
  • Author(s): Scott Moser
  • Date: 2012-12-10 20:07:40 UTC
  • mfrom: (1.1.10)
  • Revision ID: package-import@ubuntu.com-20121210200740-zsvv98f0rlik2zjv
Tags: 1.6.5.3-0ubuntu1
* New upstream release. API version 2012-10-01.
  * New commands (since 1.6.1.1): ec2-cancel-reserved-instances-listing
    ec2-create-reserved-instances-listing ec2-create-vpn-connection-route
    ec2-delete-vpn-connection-route ec2-describe-reserved-instances-listings
    ec2-disable-vgw-route-propagation ec2-enable-vgw-route-propagation
* debian/control: update Maintainer, update to standards version 3.9.3
* debian/upstream-check: sort by last-modified, not by simple version string
* debian/patches/ubuntu-ec2-cmd-fixes.patch, debian/ec2-api-tools.install:
  install jar files into /usr/share/ec2-api-tools rather than /usr/lib,
  fixing lintian 'jar-not-in-usr-share' warning.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
@echo off
 
2
 
 
3
setlocal
 
4
 
 
5
REM Copyright 2006-2010 Amazon.com, Inc. or its affiliates.  All Rights Reserved.  Licensed under the
 
6
REM Amazon Software License (the "License").  You may not use this file except in compliance with the License. A copy of the
 
7
REM License is located at http://aws.amazon.com/asl or in the "license" file accompanying this file.  This file is distributed on an "AS
 
8
REM IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific
 
9
REM language governing permissions and limitations under the License.
 
10
 
 
11
REM Set intermediate env vars because the %VAR:x=y% notation below
 
12
REM (which replaces the string x with the string y in VAR)
 
13
REM doesn't handle undefined environment variables. This way
 
14
REM we're always dealing with defined variables in those tests.
 
15
set CHK_HOME=_%EC2_HOME%
 
16
 
 
17
if "%CHK_HOME:"=%" == "_" goto HOME_MISSING
 
18
 
 
19
"%EC2_HOME:"=%\bin\ec2-cmd" CreateReservedInstancesListing %*
 
20
goto DONE
 
21
:HOME_MISSING
 
22
echo EC2_HOME is not set
 
23
exit /b 1
 
24
 
 
25
:DONE