From a2aacaaec8dc1f15ca019730a7722e9a623dda46 Mon Sep 17 00:00:00 2001 From: junyoung Date: Mon, 28 Jan 2013 10:46:34 +0900 Subject: [PATCH] whitespaces in FULL_PATH cause an error to get ANSIBLE_PATH --- hacking/env-setup | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hacking/env-setup b/hacking/env-setup index bd0a268fe75..78b05dd4838 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"