Skip to content

Commit

Permalink
Merge pull request ansible#9438 from binarytemple/patch-1
Browse files Browse the repository at this point in the history
export ANSIBLE_HOME so it can be used in scripts
  • Loading branch information
bcoca committed Aug 7, 2015
2 parents dbe7a9f + 7a76fcb commit 636f88f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion hacking/env-setup
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit 636f88f

Please sign in to comment.