summaryrefslogtreecommitdiff
path: root/hacking/env-setup
diff options
context:
space:
mode:
authorJames Cammarata <jimi@sngx.net>2015-09-17 15:26:45 -0400
committerJames Cammarata <jimi@sngx.net>2015-09-17 15:26:45 -0400
commita431121f9f14375d5f9d9795072dacda0fddddba (patch)
tree80912ee8d1e9cae24de8529332455b408b319804 /hacking/env-setup
parent52bf06661daf099f7315ed00e5593910effa104f (diff)
downloadansible-a431121f9f14375d5f9d9795072dacda0fddddba.tar.gz
Tweak to hacking path fix to go back to subshell use
Diffstat (limited to 'hacking/env-setup')
-rw-r--r--hacking/env-setup2
1 files changed, 1 insertions, 1 deletions
diff --git a/hacking/env-setup b/hacking/env-setup
index e60c2cd38c..0baf03f533 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"