summaryrefslogtreecommitdiff
path: root/hacking/env-setup
diff options
context:
space:
mode:
authorDaniel Hokka Zakrisson <daniel@hozac.com>2013-01-23 19:48:13 +0100
committerDaniel Hokka Zakrisson <daniel@hozac.com>2013-01-23 19:48:13 +0100
commita117944d0fbe6d186374d81d6a2365da1780e66e (patch)
treec4c6ea089ba551ba423fddbbeedf61457db4b656 /hacking/env-setup
parentb8d0638449e1779ecd6f925976858707e377b94f (diff)
downloadansible-a117944d0fbe6d186374d81d6a2365da1780e66e.tar.gz
Make env-setup work on Python 3
Diffstat (limited to 'hacking/env-setup')
-rwxr-xr-xhacking/env-setup2
1 files changed, 1 insertions, 1 deletions
diff --git a/hacking/env-setup b/hacking/env-setup
index ec77c7de6d..bd0a268fe7 100755
--- a/hacking/env-setup
+++ b/hacking/env-setup
@@ -10,7 +10,7 @@ else
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')"`
+FULL_PATH=`python -c "import os; print(os.path.realpath('$HACKING_DIR'))"`
ANSIBLE_HOME=`dirname $FULL_PATH`
PREFIX_PYTHONPATH="$ANSIBLE_HOME/lib"