summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjunyoung <junyoung@daumcorp.com>2013-01-28 10:46:34 +0900
committerjunyoung <junyoung@daumcorp.com>2013-01-28 10:46:34 +0900
commita2aacaaec8dc1f15ca019730a7722e9a623dda46 (patch)
treed8b06b3d125f610ee7eb76354817fd6b3dd736c8
parent5b1a0f79b2a0ec0b3c2eab920370bba5c0dee0fb (diff)
downloadansible-a2aacaaec8dc1f15ca019730a7722e9a623dda46.tar.gz
whitespaces in FULL_PATH cause an error to get ANSIBLE_PATH
-rwxr-xr-xhacking/env-setup2
1 files changed, 1 insertions, 1 deletions
diff --git a/hacking/env-setup b/hacking/env-setup
index bd0a268fe7..78b05dd483 100755
--- a/hacking/env-setup
+++ b/hacking/env-setup
@@ -11,7 +11,7 @@ fi
# The below is an alternative to readlink -fn which doesn't exist on OS X
# Source: http://stackoverflow.com/a/1678636
FULL_PATH=`python -c "import os; print(os.path.realpath('$HACKING_DIR'))"`
-ANSIBLE_HOME=`dirname $FULL_PATH`
+ANSIBLE_HOME=`dirname "$FULL_PATH"`
PREFIX_PYTHONPATH="$ANSIBLE_HOME/lib"
PREFIX_PATH="$ANSIBLE_HOME/bin"