mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-05-29 20:39:09 -07:00
Merge pull request #1927 from junyoungkim/devel
whitespaces in FULL_PATH cause an error to get ANSIBLE_PATH
This commit is contained in:
commit
a956a59bfb
1 changed files with 1 additions and 1 deletions
|
@ -11,7 +11,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'))"`
|
||||||
ANSIBLE_HOME=`dirname $FULL_PATH`
|
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"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue