Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
Diffstat (limited to 'bin')
-rwxr-xr-xbin/get-package-updates2
-rwxr-xr-xbin/return-assignment2
2 files changed, 2 insertions, 2 deletions
diff --git a/bin/get-package-updates b/bin/get-package-updates
index f53d2ae..1db1ba0 100755
--- a/bin/get-package-updates
+++ b/bin/get-package-updates
@@ -215,7 +215,7 @@ while [ -n "${black_listed_new}" ]; do
black_listed_new="$(
echo "${black_listed_new}" | \
while read -r bl_package; do
- grep "^${bl_package//./\\.}\$" "${work_dir}/package-infos/"*.depends | \
+ grep -xF "${bl_package}" "${work_dir}/package-infos/"*.depends | \
cut -d: -f1 | \
sed '
s|^.*/||
diff --git a/bin/return-assignment b/bin/return-assignment
index 2262c0a..9fd6591 100755
--- a/bin/return-assignment
+++ b/bin/return-assignment
@@ -161,7 +161,7 @@ ls "${work_dir}/package-states" | \
xargs -rn1 rm -f
# remove all loops which are broken by this package
-grep "^${1//./\\.}\$" "${work_dir}/build-list.loops/loop_"* 2> /dev/null | \
+grep -xF "$1" "${work_dir}/build-list.loops/loop_"* 2> /dev/null | \
cut -d: -f1 | \
sed 'p;s|$|.locked|' | \
xargs -rn1 rm -f