mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-09 18:45:54 +02:00
make.sh: Silence an error when we have low space in a fresh environment
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
This commit is contained in:
2
make.sh
2
make.sh
@@ -391,7 +391,7 @@ prepareenv() {
|
||||
# Add any consumed space
|
||||
while read -r consumed_space path; do
|
||||
(( free_space += consumed_space / 1024 / 1024 ))
|
||||
done <<< "$(du --summarize --bytes "${BUILD_DIR}" "${IMAGES_DIR}" "${LOG_DIR}")"
|
||||
done <<< "$(du --summarize --bytes "${BUILD_DIR}" "${IMAGES_DIR}" "${LOG_DIR}" 2>/dev/null)"
|
||||
fi
|
||||
|
||||
# Check that we have the required space
|
||||
|
||||
Reference in New Issue
Block a user