]> git.ipfire.org Git - ipfire-2.x.git/commitdiff
make.sh: Avoid finding non-existant rootfiles
authorMichael Tremer <michael.tremer@ipfire.org>
Mon, 14 Oct 2024 09:02:37 +0000 (09:02 +0000)
committerMichael Tremer <michael.tremer@ipfire.org>
Mon, 14 Oct 2024 09:03:23 +0000 (09:03 +0000)
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
make.sh

diff --git a/make.sh b/make.sh
index 7129c36e7e29aac58e25e46b81891daedee6eb88..f68a61c1c197855309fd8b5276f05db92092e57c 100755 (executable)
--- a/make.sh
+++ b/make.sh
@@ -2155,6 +2155,8 @@ check_for_missing_rootfiles() {
 
        local file
        for file in ${LOG_DIR}/*_missing_rootfile; do
+               [ -e "${file}" ] || continue
+
                file="${file##*/}"
                file="${file/_missing_rootfile/}";