Sha256: 7a9434e45c80e8509ee9bfec903088fe936e22aca0498b27998c49232ddd2d43

Contents?: true

Size: 745 Bytes

Versions: 19

Compression:

Stored size: 745 Bytes

Contents

#!/usr/bin/env bash 
# This script "concentrates" all of our Java invocations into a single location
# for maintainability.

# Verify SERVICE_HOME
if [ -z "${SERVICE_HOME}" ]; then
    echo 'This command is not intended to be run directly. Please see documentation on using service commands.'
	exit 1 
fi

# Check our Java env
if [ -n "${JAVA_HOME:+x}" ]; then
	JAVA_COMMAND=${JAVA_HOME}/bin/java
else
        echo JAVA_HOME is not set
        exit 1 
fi

LIBDIR=${SERVICE_HOME}/lib
# If a classpath exists preserve it
CP=$CLASSPATH

# Check for cygwin bash so we use the correct path separator

for jar in $(ls $LIBDIR/*.jar) ; do
	CP=${CP}:$jar
done

exec ${JAVA_COMMAND} ${SERVICE_JVM_ARGS} -classpath "${CP}" com.amazon.webservices.Cli "$@"

Version data entries

19 entries across 19 versions & 1 rubygems

Version Path
cloudformation-ruby-dsl-0.5.4 vendor/AWSCloudFormation-1.0.12/bin/service
cloudformation-ruby-dsl-0.5.3 vendor/AWSCloudFormation-1.0.12/bin/service
cloudformation-ruby-dsl-0.5.2 vendor/AWSCloudFormation-1.0.12/bin/service
cloudformation-ruby-dsl-0.5.1 vendor/AWSCloudFormation-1.0.12/bin/service
cloudformation-ruby-dsl-0.5.0 vendor/AWSCloudFormation-1.0.12/bin/service
cloudformation-ruby-dsl-0.4.14 vendor/AWSCloudFormation-1.0.12/bin/service
cloudformation-ruby-dsl-0.4.13 vendor/AWSCloudFormation-1.0.12/bin/service
cloudformation-ruby-dsl-0.4.12 vendor/AWSCloudFormation-1.0.12/bin/service
cloudformation-ruby-dsl-0.4.11 vendor/AWSCloudFormation-1.0.12/bin/service
cloudformation-ruby-dsl-0.4.10 vendor/AWSCloudFormation-1.0.12/bin/service
cloudformation-ruby-dsl-0.4.9 vendor/AWSCloudFormation-1.0.12/bin/service
cloudformation-ruby-dsl-0.4.8 vendor/AWSCloudFormation-1.0.12/bin/service
cloudformation-ruby-dsl-0.4.7 vendor/AWSCloudFormation-1.0.12/bin/service
cloudformation-ruby-dsl-0.4.6 vendor/AWSCloudFormation-1.0.12/bin/service
cloudformation-ruby-dsl-0.4.5 vendor/AWSCloudFormation-1.0.12/bin/service
cloudformation-ruby-dsl-0.4.4 vendor/AWSCloudFormation-1.0.12/bin/service
cloudformation-ruby-dsl-0.4.3 vendor/AWSCloudFormation-1.0.12/bin/service
cloudformation-ruby-dsl-0.4.2 vendor/AWSCloudFormation-1.0.12/bin/service
cloudformation-ruby-dsl-0.4.1 vendor/AWSCloudFormation-1.0.12/bin/service