diff options
author | Jan Rękorajski | 2021-02-28 20:13:12 (GMT) |
---|---|---|
committer | Jan Rękorajski | 2021-02-28 20:13:12 (GMT) |
commit | fa15d944c98c4d60b368aab55d3201b0f41a1bcd (patch) | |
tree | 330b570f7f5e4bad2e6bdefeaf6d970370992814 | |
parent | 8c195b0ffcd930308f26c52ff7d081e22bac7bbe (diff) | |
download | pld-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-x | wwwbin/consistency-check.sh | 9 |
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 |