From 24e1fd05ead6daf0acda29ba30d22441a6915955 Mon Sep 17 00:00:00 2001 From: Erich Eckner Date: Mon, 11 Jun 2018 16:29:30 +0200 Subject: lib/common-functions: remove_old_package_versions(): read bpir_ids from stdin, do not fail on non-existend action files --- bin/copy-to-build-support | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'bin/copy-to-build-support') 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 -- cgit v1.2.3