summaryrefslogtreecommitdiff
path: root/bin/get-package-updates
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2019-11-18 12:01:31 +0100
committerErich Eckner <git@eckner.net>2019-11-18 12:01:31 +0100
commitbef8b2725e211791dfe7e50d95a00d0b7ead8947 (patch)
tree3876e62b162b2693861bf2ef6769a2c90a18b269 /bin/get-package-updates
parent073125f8f462e0ae1c11f832705588b783afc8aa (diff)
downloadbuilder-bef8b2725e211791dfe7e50d95a00d0b7ead8947.tar.xz
bin/get-package-updates: less eval
Diffstat (limited to 'bin/get-package-updates')
-rwxr-xr-xbin/get-package-updates10
1 files changed, 5 insertions, 5 deletions
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