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/get-package-updates | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'bin/get-package-updates') 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|^.*/|| -- cgit v1.2.3-70-g09d2