diff options
author | merakor <cem@ckyln.com> | 2020-06-10 21:29:56 +0000 |
---|---|---|
committer | merakor <cem@ckyln.com> | 2020-06-10 21:29:56 +0000 |
commit | 4a7e74cfd744c9e3dae3388b9ce52d144749d44b (patch) | |
tree | c26a54207e1202df28489ee0d3338b2e5f336b46 | |
parent | d64cceb1dd92423eb283d9d9e0fa102d764e3ba4 (diff) | |
download | cpt-4a7e74cfd744c9e3dae3388b9ce52d144749d44b.tar.gz |
kiss: don't use regex on grep call
FossilOrigin-Name: 751d88fd57dfe11399473896154a54f4a4366cf3ffbac7c38efba9bbd5c76467
-rwxr-xr-x | kiss | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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" |