summaryrefslogtreecommitdiffstats
path: root/nova/auth
diff options
context:
space:
mode:
authorVishvananda Ishaya <vishvananda@gmail.com>2011-06-01 18:55:41 -0700
committerVishvananda Ishaya <vishvananda@gmail.com>2011-06-01 18:55:41 -0700
commit8ee41f679bd72af6aab098f9d9735e342b281635 (patch)
tree556fcef82f522a8035f63cab1457e59ca9bb7a1a /nova/auth
parentef1f5b3aadde2fedb4b2d197af0f1c0f07375714 (diff)
downloadnova-8ee41f679bd72af6aab098f9d9735e342b281635.tar.gz
nova-8ee41f679bd72af6aab098f9d9735e342b281635.tar.xz
nova-8ee41f679bd72af6aab098f9d9735e342b281635.zip
missed a couple chars
Diffstat (limited to 'nova/auth')
-rw-r--r--nova/auth/novarc.template2
1 files changed, 1 insertions, 1 deletions
diff --git a/nova/auth/novarc.template b/nova/auth/novarc.template
index 4a1f41802..92eed3520 100644
--- a/nova/auth/novarc.template
+++ b/nova/auth/novarc.template
@@ -1,4 +1,4 @@
-NOVARC=$(python -c 'import os,sys; print os.path.abspath(os.path.realpath(sys.argv[1]))' ${BASH_SOURCE-0})
+NOVARC=$(python -c 'import os,sys; print os.path.abspath(os.path.realpath(sys.argv[1]))' ${BASH_SOURCE:-$0})
NOVA_KEY_DIR=$(dirname ${NOVARC})
export EC2_ACCESS_KEY="%(access)s:%(project)s"
export EC2_SECRET_KEY="%(secret)s"