瀏覽代碼

Stop assuming `bash` for source scripts

pull/953/head
Yamashita, Yuu 9 年之前
父節點
當前提交
ad5a7f0c17
共有 1 個文件被更改,包括 0 次插入1 次删除
  1. +0
    -1
      pyenv.d/rehash/source.bash

+ 0
- 1
pyenv.d/rehash/source.bash 查看文件

@ -11,7 +11,6 @@ shopt -u nullglob
eval "source_shim(){ case \"\${1##*/}\" in ${shims[@]} *)return 1;;esac;}"
cat > "${PROTOTYPE_SOURCE_SHIM_PATH}" <<SH
#!/usr/bin/env bash
[ -n "\$PYENV_DEBUG" ] && set -x
export PYENV_ROOT="${PYENV_ROOT}"
program="\$("$(command -v pyenv)" which "\${BASH_SOURCE##*/}")"

Loading…
取消
儲存