本網站在啟用 JavaScript 的情況下可以運作的更好。
首頁
探索
說明
登入
isprogram
/
pyenv
镜像来自
https://github.com/pyenv/pyenv.git
關注
1
收藏
0
複製
0
程式碼
問題
0
Projects
0
版本發佈
241
Wiki
活動
瀏覽代碼
Use `if` instead of inline `&&` so `rbenv rehash` exits with a zero status
pull/360/head^2
Sam Stephenson
14 年之前
父節點
b10bdb1e78
當前提交
114b81c9a4
共有
1 個檔案被更改
,包括
3 行新增
和
1 行删除
分割檢視
Diff Options
Show Stats
Download Patch File
Download Diff File
+3
-1
libexec/rbenv-rehash
+ 3
- 1
libexec/rbenv-rehash
查看文件
@ -120,7 +120,9 @@ remove_stale_shims() {
local var
for shim in *; do
var="$(shim_variable_name "$shim")"
[ -z "${!var}" ] && rm -f "$shim"
if [ -z "${!var}" ]; then
rm -f "$shim"
fi
done
}
Write
Preview
Loading…
取消
儲存