aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordylan.araps@gmail.com <dylan.araps@gmail.com>2020-01-14 10:10:13 +0000
committerdylan.araps@gmail.com <dylan.araps@gmail.com>2020-01-14 10:10:13 +0000
commit99983140592addd7f69accc615a8392777158bca (patch)
treef726bdef868712441fe65463bd186e242031d92e
parent50232e8aa98566c4e3b049807f6d23224531492c (diff)
downloadcpt-99983140592addd7f69accc615a8392777158bca.tar.gz
kiss: Ensure grep is always set
FossilOrigin-Name: 221712bef03ddc2c1d3e0a617aa7e2c1129606c2426f2cde78bc2c7e4537aa7c
-rwxr-xr-xkiss2
1 files changed, 1 insertions, 1 deletions
diff --git a/kiss b/kiss
index f817269..7de46b7 100755
--- a/kiss
+++ b/kiss
@@ -1091,7 +1091,7 @@ main() {
# Prefer GNU grep if installed as it is much much faster than busybox's
# implementation. Very much worth it if you value performance over
# POSIX correctness.
- grep=$(command -v ggrep 2>/dev/null) || grep='grep'
+ grep=$(command -v ggrep 2>/dev/null) || grep='grep'; : "${grep:=grep}"
# This allows for automatic setup of a KISS chroot and will
# do nothing on a normal system.