Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/bin/copy-to-build-support
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2018-06-11 16:29:30 +0200
committerErich Eckner <git@eckner.net>2018-06-11 16:29:30 +0200
commit24e1fd05ead6daf0acda29ba30d22441a6915955 (patch)
tree1c7505d0f962bc76e7ef6029c869aedb50274921 /bin/copy-to-build-support
parentfd3098241034ab4588cc045d971386bfd7d1264e (diff)
lib/common-functions: remove_old_package_versions(): read bpir_ids from stdin, do not fail on non-existend action files
Diffstat (limited to 'bin/copy-to-build-support')
-rwxr-xr-xbin/copy-to-build-support4
1 files changed, 1 insertions, 3 deletions
diff --git a/bin/copy-to-build-support b/bin/copy-to-build-support
index 1840855..a60f058 100755
--- a/bin/copy-to-build-support
+++ b/bin/copy-to-build-support
@@ -187,9 +187,7 @@ if [ -s "${tmp_dir}/mysql-command" ]; then
mysql_run_query < \
"${tmp_dir}/mysql-command" | \
sort -u | \
- while read -r bpir_id; do
- remove_old_package_versions "${bpir_id}"
- done
+ remove_old_package_versions
fi
if [ -w "$1" ]; then