mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-08 06:12:51 +00:00
Merge pull request #12426 from evanccnyc/devel
Allow env-setup to use spaces in full path
This commit is contained in:
@@ -25,7 +25,7 @@ fi
|
|||||||
# The below is an alternative to readlink -fn which doesn't exist on OS X
|
# The below is an alternative to readlink -fn which doesn't exist on OS X
|
||||||
# Source: http://stackoverflow.com/a/1678636
|
# 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'))")
|
||||||
export ANSIBLE_HOME=$(dirname "$FULL_PATH")
|
export ANSIBLE_HOME="`dirname "$FULL_PATH"`"
|
||||||
|
|
||||||
PREFIX_PYTHONPATH="$ANSIBLE_HOME/lib"
|
PREFIX_PYTHONPATH="$ANSIBLE_HOME/lib"
|
||||||
PREFIX_PATH="$ANSIBLE_HOME/bin"
|
PREFIX_PATH="$ANSIBLE_HOME/bin"
|
||||||
|
|||||||
Reference in New Issue
Block a user