summaryrefslogtreecommitdiff
path: root/bin/get-package-updates
diff options
context:
space:
mode:
Diffstat (limited to 'bin/get-package-updates')
-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