Permalink
Browse files

Call /bin/ls directly to avoid shell aliases

  • Loading branch information...
1 parent a881d2d commit 7bd168557c7fedca908c5fdf70f1836471b1110d @stuartsierra stuartsierra committed Aug 30, 2011
Showing with 5 additions and 5 deletions.
  1. +5 −5 bin/env.sh
View
@@ -12,11 +12,11 @@ AMI_64BIT="ami-3202f25b"
# Default region: U.S. East
DEFAULT_REGION="us-east-1b"
-EC2_API_DIR=`ls -d ec2-api-tools-*`
-EC2_AMI_DIR=`ls -d ec2-ami-tools-*`
-export EC2_PRIVATE_KEY=`ls pk-*.pem`
-export EC2_CERT=`ls cert-*.pem`
-ID_RSA_PRIVATE_KEY=`ls id_rsa-*`
+EC2_API_DIR=`/bin/ls -d ec2-api-tools-*`
+EC2_AMI_DIR=`/bin/ls -d ec2-ami-tools-*`
+export EC2_PRIVATE_KEY=`/bin/ls pk-*.pem`
+export EC2_CERT=`/bin/ls cert-*.pem`
+ID_RSA_PRIVATE_KEY=`/bin/ls id_rsa-*`
PRIVATE_KEY_NAME=`echo $ID_RSA_PRIVATE_KEY | perl -pne 's/id_rsa-//go'`
GROUP_NAME="default"

0 comments on commit 7bd1685

Please sign in to comment.