]> git.pld-linux.org Git - projects/pld-ftp-admin.git/commitdiff
Filter out boolean deps, poldek does not support them and reports false negatives
authorJan Rękorajski <baggins@pld-linux.org>
Sun, 28 Feb 2021 20:13:12 +0000 (21:13 +0100)
committerJan Rękorajski <baggins@pld-linux.org>
Sun, 28 Feb 2021 20:13:12 +0000 (21:13 +0100)
wwwbin/consistency-check.sh

index 0a4fb544ca3cb13a5e1230c02742d42eada09a0d..ad9059062236fec5a41887b964d71d2acf6aa71f 100755 (executable)
@@ -3,11 +3,14 @@
 export LC_ALL=C
 
 filter_deps() {
+       boolean_deps="req \(.*\) not found"
+       common_deps="cpuinfo\(|uname\(release\)|-multilib-|\/eclipse\/|statifier|kernel-tools-perf-vdso"
+       x32_deps="libreoffice|nodejs|firefox|seamonkey|thunderbird"
        if [ $1 = "x32" ]; then
-         grep -Ev "(cpuinfo\(|uname\(release\)|-multilib-|\/eclipse\/|statifier|kernel-tools-perf-vdso|libreoffice|nodejs|firefox|seamonkey|thunderbird)"
+               grep -Ev "($boolean_deps|$common_deps|$x32_deps)"
        else
-         grep -Ev "(cpuinfo\(|uname\(release\)|-multilib-|\/eclipse\/|statifier|kernel-tools-perf-vdso)"
-    fi
+               grep -Ev "($boolean_deps|$common_deps)"
+       fi
 }
 
 # group errors by same error kind
This page took 0.166343 seconds and 4 git commands to generate.