diff options
author | Erich Eckner <git@eckner.net> | 2019-08-06 10:27:41 +0200 |
---|---|---|
committer | Erich Eckner <git@eckner.net> | 2019-08-06 10:27:41 +0200 |
commit | 1c56838b121f35dd8b46e0047f53ff0e19474a42 (patch) | |
tree | edd41f12a181030041954c10310e506a0e4430eb /bin/get-package-updates | |
parent | 42e0c5c69f33849579894bcac033e3b88ad16eaf (diff) | |
download | builder-1c56838b121f35dd8b46e0047f53ff0e19474a42.tar.xz |
bin/get-package-updates: blacklist layout has changed - we need to change extraction of blacklist reasons, too
Diffstat (limited to 'bin/get-package-updates')
-rwxr-xr-x | bin/get-package-updates | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/bin/get-package-updates b/bin/get-package-updates index 8c692a6..b33bdf6 100755 --- a/bin/get-package-updates +++ b/bin/get-package-updates @@ -495,11 +495,11 @@ echo 'Done - mark decisions as final.' # save blacklist into database printf 'CREATE TEMPORARY TABLE `blacklist` (`arch` VARCHAR(16), `pkgbase` VARCHAR(64), `reason` TEXT);\n' git -C "${repo_paths__archlinux32}" archive "${new_repo_revisions__archlinux32}" -- 'blacklist' | \ - tar -Ox 'blacklist' | \ - sed -n ' - s/^\(\S\+\)\s\+\(\S\+\)\s*#\s*/\1 \2 / - T - p + tar -x --to-command 'sed "s@^@$TAR_FILENAME @"' 'blacklist' | \ + sed ' + s@^blacklist/\([^/[:space:]]\+\)/\S\+/\([^/[:space:]]\+\) @\1 \2 @ + t + d ' | \ while read -r arch pkgbase reason; do printf '(from_base64("%s"),from_base64("%s"),from_base64("%s")),\n' \ |