From acae7f90d9afe705b05a4dd7500784112a422fa0 Mon Sep 17 00:00:00 2001 From: Jiri Slaby Date: Sep 29 2022 08:35:55 +0000 Subject: scripts/CKC: test accepts only =, not == And put $1 into "" too. --- diff --git a/scripts/check-kernel-commit b/scripts/check-kernel-commit index 57b5642..9274a50 100755 --- a/scripts/check-kernel-commit +++ b/scripts/check-kernel-commit @@ -70,7 +70,7 @@ term2regex() check_branch() { verbose=0 - if [ $1 == "-v" ] ; then + if [ "$1" = "-v" ] ; then verbose=1 shift fi