summaryrefslogtreecommitdiff
path: root/hacking
diff options
context:
space:
mode:
authorBrian Coca <bcoca@ansible.com>2015-08-06 23:59:21 -0400
committerBrian Coca <bcoca@ansible.com>2015-08-06 23:59:21 -0400
commit636f88fd31d7eaa89a8f444dc61dea9570a87a6c (patch)
tree3b68a24f63b3d4ddcf79552be607a8270f2599d9 /hacking
parentdbe7a9fe2f47f23989d47de8352b4f27afcd622d (diff)
parent7a76fcb159115fa482a008ce036f66832627a918 (diff)
downloadansible-636f88fd31d7eaa89a8f444dc61dea9570a87a6c.tar.gz
Merge pull request #9438 from binarytemple/patch-1
export ANSIBLE_HOME so it can be used in scripts
Diffstat (limited to 'hacking')
-rw-r--r--hacking/env-setup2
1 files changed, 1 insertions, 1 deletions
diff --git a/hacking/env-setup b/hacking/env-setup
index 7b48db28db..f573de6705 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'))")
-ANSIBLE_HOME=$(dirname "$FULL_PATH")
+export ANSIBLE_HOME=(dirname "$FULL_PATH")
PREFIX_PYTHONPATH="$ANSIBLE_HOME/lib"
PREFIX_PATH="$ANSIBLE_HOME/bin"