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

« back to all changes in this revision

Viewing changes to bin/rds-create-db-parameter-group

  • Committer: Bazaar Package Importer
  • Author(s): Scott Moser
  • Date: 2011-06-20 00:54:04 UTC
  • Revision ID: james.westby@ubuntu.com-20110620005404-1aeht22lg2jmnd87
Tags: 1.4.006-0ubuntu1
Initial release. API version 2011-04-01. (LP: #797387)

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
#!/usr/bin/env bash
2
 
if [ -n "${AWS_RDS_HOME:+x}" ]; then
3
 
        ${AWS_RDS_HOME}/bin/rds rds-create-db-parameter-group "$@"
4
 
else
5
 
        echo AWS_RDS_HOME is not set
6
 
        exit 1
7
 
fi
 
1
#!/bin/sh
 
2
ld=${AWS_RDS_HOME:-@@AWS_RDS_HOME@@}
 
3
[ -x "${ld}/bin/service" ] && service="${ld}/bin/service" ||
 
4
   service="${ld}/service"
 
5
exec "$service" rds-create-db-parameter-group "$@"