From 4a7e74cfd744c9e3dae3388b9ce52d144749d44b Mon Sep 17 00:00:00 2001 From: merakor Date: Wed, 10 Jun 2020 21:29:56 +0000 Subject: kiss: don't use regex on grep call FossilOrigin-Name: 751d88fd57dfe11399473896154a54f4a4366cf3ffbac7c38efba9bbd5c76467 --- kiss | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'kiss') diff --git a/kiss b/kiss index 9bb1e22..37aec63 100755 --- a/kiss +++ b/kiss @@ -1069,7 +1069,7 @@ pkg_remove() { [ "${file##/etc/*}" ] || continue if [ -d "$KISS_ROOT/$file" ]; then - "$grep" -q "^$file\$" "$mak_dir/dirs" 2>/dev/null && continue + "$grep" -Fxq "$file" "$mak_dir/dirs" 2>/dev/null && continue rmdir "$KISS_ROOT/$file" 2>/dev/null || continue else rm -f "$KISS_ROOT/$file" -- cgit v1.2.3