diff options
| author | Daniel Hokka Zakrisson <daniel@hozac.com> | 2013-01-23 19:48:13 +0100 |
|---|---|---|
| committer | Daniel Hokka Zakrisson <daniel@hozac.com> | 2013-01-23 19:48:13 +0100 |
| commit | a117944d0fbe6d186374d81d6a2365da1780e66e (patch) | |
| tree | c4c6ea089ba551ba423fddbbeedf61457db4b656 /hacking/env-setup | |
| parent | b8d0638449e1779ecd6f925976858707e377b94f (diff) | |
| download | ansible-a117944d0fbe6d186374d81d6a2365da1780e66e.tar.gz | |
Make env-setup work on Python 3
Diffstat (limited to 'hacking/env-setup')
| -rwxr-xr-x | hacking/env-setup | 2 |
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" |
