summaryrefslogtreecommitdiffstats
path: root/sca-cpp/trunk/ubuntu/uec2-status
diff options
context:
space:
mode:
Diffstat (limited to 'sca-cpp/trunk/ubuntu/uec2-status')
-rwxr-xr-xsca-cpp/trunk/ubuntu/uec2-status2
1 files changed, 1 insertions, 1 deletions
diff --git a/sca-cpp/trunk/ubuntu/uec2-status b/sca-cpp/trunk/ubuntu/uec2-status
index 4f425b39d4..f7a0722fe9 100755
--- a/sca-cpp/trunk/ubuntu/uec2-status
+++ b/sca-cpp/trunk/ubuntu/uec2-status
@@ -16,7 +16,7 @@
# under the License.
# Display the status of EC2 instances
-here=`readlink -f $0`; here=`dirname $here`
+here=`echo "import os; print os.path.realpath('$0')" | python`; here=`dirname $here`
. $here/uec2-setenv
ec2-describe-instances --region us-west-1