mirror of
https://github.com/status-im/nimbus-build-system.git
synced 2025-01-31 06:46:20 +00:00
build_nim.sh: hide stderr from "ls" (#43)
This commit is contained in:
parent
041544c2b7
commit
a8ab2dc39a
@ -91,7 +91,7 @@ nim_needs_rebuilding() {
|
||||
fi
|
||||
|
||||
# Delete old Nim binaries, to put a limit on how much storage we use.
|
||||
for F in "$(ls -t "${NIM_DIR}"/bin/nim_commit_* | tail -n +$((MAX_NIM_BINARIES + 1)))"; do
|
||||
for F in "$(ls -t "${NIM_DIR}"/bin/nim_commit_* 2>/dev/null | tail -n +$((MAX_NIM_BINARIES + 1)))"; do
|
||||
if [[ -e "${F}" ]]; then
|
||||
rm "${F}"
|
||||
fi
|
||||
|
Loading…
x
Reference in New Issue
Block a user