Tämä sivusto toimii paremmin JavaScriptillä.
Etusivu
Tutki
Apua
Kirjaudu sisään
JustAnotherArchivist
/
little-things
Tarkkaile
2
Äänestä
0
Fork
0
Koodi
Ongelmat
0
Pull-pyynnöt
0
Julkaisut
0
Wiki
Toiminta
Selaa lähdekoodia
Fix output sometimes appearing after prompt
master
JustAnotherArchivist
1 vuosi sitten
vanhempi
75999e969c
commit
3440da3f9a
1 muutettua tiedostoa
jossa
3 lisäystä
ja
1 poistoa
Jaettu näkymä
Diff Options
Show Stats
Download Patch File
Download Diff File
+3
-1
iasha1check
+ 3
- 1
iasha1check
Näytä tiedosto
@@ -42,7 +42,9 @@ echo
echo "SHA-1 comparison:"
sha1sum -c < <(printf "%s\n" "${iasha1sums[@]}") > >(perl -pe 's,^(.*)(?<!: OK)$,'"${RED}"'\1'"${RESET}"',; s,: OK$,: '"${GREEN}OK${RESET}"',; s,^, ,') 2>&1
if [[ $? -eq 0 ]]
shast=$?
wait # Wait for Perl to finish; Bash 4.4+ only
if [[ ${shast} -eq 0 ]]
then
echo "SHA-1 comparison: ${GREEN}OK${RESET}"
else
Kirjoita
Esikatselu
Ladataan…
Peruuta
Tallenna