]> git.ipfire.org Git - people/pmueller/ipfire-2.x.git/commitdiff
checkrootfiles: exclude update.sh at x86_64 check
authorArne Fitzenreiter <arne_f@ipfire.org>
Tue, 19 Jul 2022 16:52:31 +0000 (16:52 +0000)
committerMichael Tremer <michael.tremer@ipfire.org>
Wed, 20 Jul 2022 10:21:24 +0000 (10:21 +0000)
the updatescript also contains this string so the check
produce a false positive.

Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
tools/checkrootfiles

index 1a55a4da9bf5d08601f96899885a90c84620c7c1..33bfb16e0126c8f9be770760d2b919b15982807e 100755 (executable)
@@ -2,7 +2,7 @@
 ###############################################################################
 #                                                                             #
 # IPFire.org - A linux based firewall                                         #
-# Copyright (C) 2007-2015  IPFire Team  info@ipfire.org                       #
+# Copyright (C) 2007-2022  IPFire Team  info@ipfire.org                       #
 #                                                                             #
 # This program is free software: you can redistribute it and/or modify        #
 # it under the terms of the GNU General Public License as published by        #
@@ -35,11 +35,13 @@ fi
 
 grep -r '/x86_64' ./config/rootfiles/ --exclude gcc --exclude rust-libc \
     --exclude rust-ppv-lite86 --exclude rust-memchr --exclude *linux* \
+    --exclude update.sh \
     --exclude-dir oldcore --exclude-dir x86_64 >/dev/null 2>&1
 if [ "${?}" == "0" ]; then
        echo "Error! '/x86_64' in rootfiles files found!"
        grep -r '/x86_64' ./config/rootfiles/ --exclude gcc --exclude rust-libc \
     --exclude rust-ppv-lite86 --exclude rust-memchr --exclude *linux* \
+    --exclude update.sh \
     --exclude-dir oldcore --exclude-dir x86_64
        echo "Replace by xxxMACHINExxx !"
 fi