From f25f9462a68a968a676d555613cdfa6e7516cad1 Mon Sep 17 00:00:00 2001 From: Erich Eckner Date: Wed, 14 Jun 2017 15:34:35 +0200 Subject: replace some regexes with string-match grep --- bin/return-assignment | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'bin/return-assignment') 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 -- cgit v1.2.3-70-g09d2