]> git.ipfire.org Git - thirdparty/git.git/blobdiff - git-applypatch.sh
applypatch: no need to do non-portable [[ ... ]]
[thirdparty/git.git] / git-applypatch.sh
index 214f5c31a6020ae63b4fee3c245156717d536252..e8ba34a0ad4a466083c8462cc038de9d8ad6a4ab 100755 (executable)
@@ -14,7 +14,7 @@
 USAGE='<msg> <patch> <info> [<signoff>]'
 . git-sh-setup
 
-[[ "$#" = "3" || "$#" = "4" ]] || usage
+case "$#" in 3|4) usage ;; esac
 
 final=.dotest/final-commit
 ##