mirror of
https://github.com/pyenv/pyenv.git
synced 2024-11-07 20:31:01 -05:00
Stop assuming bash
for source scripts
This commit is contained in:
parent
e9ad498fe3
commit
ad5a7f0c17
1 changed files with 0 additions and 1 deletions
|
@ -11,7 +11,6 @@ shopt -u nullglob
|
||||||
eval "source_shim(){ case \"\${1##*/}\" in ${shims[@]} *)return 1;;esac;}"
|
eval "source_shim(){ case \"\${1##*/}\" in ${shims[@]} *)return 1;;esac;}"
|
||||||
|
|
||||||
cat > "${PROTOTYPE_SOURCE_SHIM_PATH}" <<SH
|
cat > "${PROTOTYPE_SOURCE_SHIM_PATH}" <<SH
|
||||||
#!/usr/bin/env bash
|
|
||||||
[ -n "\$PYENV_DEBUG" ] && set -x
|
[ -n "\$PYENV_DEBUG" ] && set -x
|
||||||
export PYENV_ROOT="${PYENV_ROOT}"
|
export PYENV_ROOT="${PYENV_ROOT}"
|
||||||
program="\$("$(command -v pyenv)" which "\${BASH_SOURCE##*/}")"
|
program="\$("$(command -v pyenv)" which "\${BASH_SOURCE##*/}")"
|
||||||
|
|
Loading…
Reference in a new issue