mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-07-22 12:50:22 -07:00
change OS X to macOS (#41294)
* change OS X to macOS <!--- Your description here --> +label: docsite_pr * Update all Mac OS X references to be macOS * Drop extra Mac
This commit is contained in:
parent
c0c20835ac
commit
15ce7c5bab
22 changed files with 45 additions and 45 deletions
|
@ -25,7 +25,7 @@ elif [ -n "$KSH_VERSION" ] && echo $KSH_VERSION | grep -qv '^@(#)PD KSH'; then
|
|||
else
|
||||
HACKING_DIR="$PWD/hacking"
|
||||
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 macOS
|
||||
# Source: http://stackoverflow.com/a/1678636
|
||||
FULL_PATH=$($PYTHON_BIN -c "import os; print(os.path.realpath('$HACKING_DIR'))")
|
||||
export ANSIBLE_HOME="$(dirname "$FULL_PATH")"
|
||||
|
@ -70,16 +70,16 @@ fi
|
|||
|
||||
if [ "$verbosity" != silent ] ; then
|
||||
cat <<- EOF
|
||||
|
||||
|
||||
Setting up Ansible to run out of checkout...
|
||||
|
||||
|
||||
PATH=$PATH
|
||||
PYTHONPATH=$PYTHONPATH
|
||||
MANPATH=$MANPATH
|
||||
|
||||
|
||||
Remember, you may wish to specify your host file with -i
|
||||
|
||||
|
||||
Done!
|
||||
|
||||
|
||||
EOF
|
||||
fi
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue