Closed turboencabulator closed 2 years ago
rm
/bin/rm
/bin/cp
rm -f
rm || true
-rm
rmdir
-rmdir || true
rmdir || true
-rmdir
mkdir -p
-p
rm
rules./bin/rm
and/bin/cp
commands.rm -f
instead ofrm || true
or-rm
(where the leading dash is Make syntax to ignore errors).rmdir
commands were using two error suppression methods (-rmdir || true
), preferrmdir || true
since it is less noisy than-rmdir
.mkdir -p
commands do not need parent directories supplied as arguments; add the-p
flag if missing.