From bef8b2725e211791dfe7e50d95a00d0b7ead8947 Mon Sep 17 00:00:00 2001 From: Erich Eckner Date: Mon, 18 Nov 2019 12:01:31 +0100 Subject: bin/get-package-updates: less eval --- bin/get-package-updates | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'bin/get-package-updates') diff --git a/bin/get-package-updates b/bin/get-package-updates index 25d1a83..082ecdb 100755 --- a/bin/get-package-updates +++ b/bin/get-package-updates @@ -392,11 +392,11 @@ echo 'Check modified packages from the last update, and put them to the build li fi else # shellcheck disable=SC2154 - if eval 'git -C "${repo_path}" archive "${new_repo_revisions__'"${repository}"'}" -- "${package}/repos" 2> /dev/null | ' \ - 'tar -t --wildcards "${package}/repos/*/PKGBUILD" 2> /dev/null | ' \ - 'cut -d/ -f3 | ' \ - 'grep -v '"'"'staging\|testing\|-unstable'"'"' | ' \ - 'grep -vq -- '"'"'-i686$'"'"; then + if eval 'git -C "${repo_path}" archive "${new_repo_revisions__'"${repository}"'}" -- "${package}/repos"' 2> /dev/null | \ + tar -t --wildcards "${package}/repos/*/PKGBUILD" 2> /dev/null | \ + cut -d/ -f3 | \ + grep -v 'staging\|testing\|-unstable' | \ + grep -vq -- '-i686$'; then eval 'git_revision="${new_repo_revisions__'"${repository}"'}"' found_package=true break -- cgit v1.2.3