diff options
author | EC <evanccnyc@users.noreply.github.com> | 2015-09-17 15:11:25 -0400 |
---|---|---|
committer | EC <evanccnyc@users.noreply.github.com> | 2015-09-17 15:11:25 -0400 |
commit | bcdb4e78aef56fc1f762d1bc2b6df5d1d36a76e3 (patch) | |
tree | 8f0dce93c84922d3b97b4cef15f672693dc60493 /hacking | |
parent | c95d4ca05f5f50f8b38f90be89f0395ae735edec (diff) | |
download | ansible-bcdb4e78aef56fc1f762d1bc2b6df5d1d36a76e3.tar.gz |
Allow env-setup to use spaces in full path
Diffstat (limited to 'hacking')
-rw-r--r-- | hacking/env-setup | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/hacking/env-setup b/hacking/env-setup index 605e41dafb..e60c2cd38c 100644 --- a/hacking/env-setup +++ b/hacking/env-setup @@ -25,7 +25,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'))") -export ANSIBLE_HOME=$(dirname "$FULL_PATH") +export ANSIBLE_HOME="`dirname "$FULL_PATH"`" PREFIX_PYTHONPATH="$ANSIBLE_HOME/lib" PREFIX_PATH="$ANSIBLE_HOME/bin" |