Il sito funziona meglio con JavaScript.
Home
Esplora
Aiuto
Accedi
isprogram
/
pyenv
mirror da
https://github.com/pyenv/pyenv.git
Segui
1
Vota
0
Forka
0
Codice
Problemi
0
Projects
0
Rilasci
241
Wiki
Attività
Sfoglia il codice sorgente
Use `if` instead of inline `&&` so `rbenv rehash` exits with a zero status
pull/360/head^2
Sam Stephenson
14 anni fa
parent
b10bdb1e78
commit
114b81c9a4
1 ha cambiato i file
con
3 aggiunte
e
1 eliminazioni
Visualizzazione separata
Opzioni Diff
Mostra statistiche
Scarica il file Patch
Scarica il file Diff
+3
-1
libexec/rbenv-rehash
+ 3
- 1
libexec/rbenv-rehash
Vedi File
@ -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
}
Scrivi
Anteprima
Caricamento…
Annulla
Salva