summaryrefslogtreecommitdiffstats
path: root/sca-cpp/trunk/ubuntu/uec2-stop
diff options
context:
space:
mode:
Diffstat (limited to '')
-rwxr-xr-xsca-cpp/trunk/ubuntu/uec2-stop2
1 files changed, 1 insertions, 1 deletions
diff --git a/sca-cpp/trunk/ubuntu/uec2-stop b/sca-cpp/trunk/ubuntu/uec2-stop
index aa3b2e8081..575fb4e3cd 100755
--- a/sca-cpp/trunk/ubuntu/uec2-stop
+++ b/sca-cpp/trunk/ubuntu/uec2-stop
@@ -17,7 +17,7 @@
# Terminate an EC2 instance
instance=$1
-here=`readlink -f $0`; here=`dirname $here`
+here=`echo "import os; print os.path.realpath('$0')" | python`; here=`dirname $here`
. $here/uec2-setenv
ec2-terminate-instances $instance --region us-west-1