mirror of
https://github.com/ansible/ansible.git
synced 2026-08-01 16:19:10 +02:00
Add KSH compat
cherry picked from https://github.com/ansible/ansible/pull/6899
This commit is contained in:
@@ -16,6 +16,8 @@ if [ -n "$BASH_SOURCE" ] ; then
|
||||
HACKING_DIR=$(dirname "$BASH_SOURCE")
|
||||
elif [ $(basename -- "$0") = "env-setup" ]; then
|
||||
HACKING_DIR=$(dirname "$0")
|
||||
elif [ -n "$KSH_VERSION" ]; then
|
||||
HACKING_DIR=$(dirname "${.sh.file}")
|
||||
else
|
||||
HACKING_DIR="$PWD/hacking"
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user