summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJan Rękorajski2021-02-28 20:13:12 (GMT)
committerJan Rękorajski2021-02-28 20:13:12 (GMT)
commitfa15d944c98c4d60b368aab55d3201b0f41a1bcd (patch)
tree330b570f7f5e4bad2e6bdefeaf6d970370992814
parent8c195b0ffcd930308f26c52ff7d081e22bac7bbe (diff)
downloadpld-ftp-admin-fa15d944c98c4d60b368aab55d3201b0f41a1bcd.zip
pld-ftp-admin-fa15d944c98c4d60b368aab55d3201b0f41a1bcd.tar.gz
Filter out boolean deps, poldek does not support them and reports false negatives
-rwxr-xr-xwwwbin/consistency-check.sh9
1 files changed, 6 insertions, 3 deletions
diff --git a/wwwbin/consistency-check.sh b/wwwbin/consistency-check.sh
index 0a4fb54..ad90590 100755
--- a/wwwbin/consistency-check.sh
+++ b/wwwbin/consistency-check.sh
@@ -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