summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xarchPackagesUpdate2
1 files changed, 1 insertions, 1 deletions
diff --git a/archPackagesUpdate b/archPackagesUpdate
index a70fa95df..71cb78cd5 100755
--- a/archPackagesUpdate
+++ b/archPackagesUpdate
@@ -459,7 +459,7 @@ then
neu="$1"
for alt in $(
ls -1 | \
- grep "^${neu%-*-*-*.pkg.tar.xz}-[^-]\+-[^-]\+-${arch}\.pkg\.tar\.xz\$"
+ grep "^${neu%-*-*-*.pkg.tar.xz}-[^-]\+-[^-]\+-'${arch}'\.pkg\.tar\.xz\$"
)
do
[ "${alt}" == "${neu}" ] && continue