Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2019-11-18 11:46:19 +0100
committerErich Eckner <git@eckner.net>2019-11-18 11:46:19 +0100
commit073125f8f462e0ae1c11f832705588b783afc8aa (patch)
tree30c05701eb24c74c076ab9de895fd246b994b04d /bin
parentda676e6ab58b509a8bb1897c920c17c936abe5cb (diff)
bin/get-package-updates: still-available PKGBUILDs of deleted packages must match exactly - otherwise we trigger on build-support/disabled/$pkgname/PKGBUILD, too
Diffstat (limited to 'bin')
-rwxr-xr-xbin/get-package-updates2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/get-package-updates b/bin/get-package-updates
index 34f3b6e..25d1a83 100755
--- a/bin/get-package-updates
+++ b/bin/get-package-updates
@@ -387,7 +387,7 @@ echo 'Check modified packages from the last update, and put them to the build li
if [ "${repository}" = "archlinux32" ]; then
if git -C "${repo_path}" archive "${new_repo_revisions__archlinux32}" 2> /dev/null | \
tar -t 2> /dev/null | \
- grep -q "/$(str_to_regex "${package}")/PKGBUILD$"; then
+ grep -q '^[^/]\+/'"$(str_to_regex "${package}")"'/PKGBUILD$'; then
found_package=true
fi
else