summaryrefslogtreecommitdiff
path: root/bin/get-package-updates
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2017-10-06 13:06:43 +0200
committerErich Eckner <git@eckner.net>2017-10-06 13:06:43 +0200
commitea10fdd184195317fe6716a8db0c0a11bcfae5e4 (patch)
treeeb5d5542c9a33c8688516e713657aae012e8b3fd /bin/get-package-updates
parentd7cfb0842f571ab160f7a0794164733a5145c050 (diff)
downloadbuilder-ea10fdd184195317fe6716a8db0c0a11bcfae5e4.tar.xz
bin/get-package-updates, bin/seed-build-list, bin/why-dont-you: remove comments from blacklist
Diffstat (limited to 'bin/get-package-updates')
-rwxr-xr-xbin/get-package-updates6
1 files changed, 5 insertions, 1 deletions
diff --git a/bin/get-package-updates b/bin/get-package-updates
index 7e474fa..af33653 100755
--- a/bin/get-package-updates
+++ b/bin/get-package-updates
@@ -238,7 +238,11 @@ black_listed=''
black_listed_new=$(
(
git -C "${repo_paths__archlinux32}" archive "$(cat "${work_dir}/archlinux32.revision")" -- 'blacklist' | \
- tar -Ox 'blacklist'
+ tar -Ox 'blacklist' | \
+ sed '
+ s/\s*#.*$//
+ /^\s*$/d
+ '
find "${work_dir}/package-infos" -maxdepth 1 -name 'lib32-*' -printf '%f\n' | \
sed 's|\(\.[^.]\+\)\{4\}$||' | \
uniq