diff options
author | Toshio Kuratomi <toshio@fedoraproject.org> | 2015-03-15 21:22:07 +0100 |
---|---|---|
committer | Toshio Kuratomi <toshio@fedoraproject.org> | 2015-03-15 21:22:07 +0100 |
commit | caf2a96ef9808436f00522b7792a3541301d90eb (patch) | |
tree | 4051bc63312f18e8be69f778c1a5adb3e320af65 /hacking/env-setup | |
parent | Merge pull request #10466 from eest/env-setup_pdksh (diff) | |
download | ansible-caf2a96ef9808436f00522b7792a3541301d90eb.tar.xz ansible-caf2a96ef9808436f00522b7792a3541301d90eb.zip |
Merge pdksh fix to v2
Diffstat (limited to 'hacking/env-setup')
-rw-r--r-- | hacking/env-setup | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/hacking/env-setup b/hacking/env-setup index 16baa9b1b7..f52c91a8b9 100644 --- a/hacking/env-setup +++ b/hacking/env-setup @@ -16,6 +16,7 @@ if [ -n "$BASH_SOURCE" ] ; then HACKING_DIR=$(dirname "$BASH_SOURCE") elif [ $(basename -- "$0") = "env-setup" ]; then HACKING_DIR=$(dirname "$0") +# Works with ksh93 but not pdksh elif [ -n "$KSH_VERSION" ] && echo $KSH_VERSION | grep -qv '^@(#)PD KSH'; then HACKING_DIR=$(dirname "${.sh.file}") else |