137910b14c
The API tools serve as the client interface to the Amazon EC2 web service. Use these tools to register and launch AMI instances, manage EBS volumes, manipulate security groups, and more.
13 lines
411 B
Text
13 lines
411 B
Text
$NetBSD: patch-aa,v 1.1.1.1 2011/01/31 20:46:02 jym Exp $
|
|
Prepare for substitution of the Java home path.
|
|
--- bin/ec2-cmd.orig 2010-12-15 17:41:53.000000000 +0000
|
|
+++ bin/ec2-cmd
|
|
@@ -14,7 +14,7 @@ EC2_HOME=${EC2_HOME:-EC2_HOME is not set
|
|
LIBDIR=$EC2_HOME/lib
|
|
|
|
# Check our Java env
|
|
-JAVA_HOME=${JAVA_HOME:?JAVA_HOME is not set}
|
|
+JAVA_HOME=@PKG_JAVA_HOME@
|
|
|
|
# If a classpath exists preserve it
|
|
CP=$CLASSPATH
|