From: Sean Whitton Date: Fri, 24 Jul 2020 22:24:54 +0000 (-0700) Subject: avoid bashism X-Git-Url: https://git.nutra.tk/v2?a=commitdiff_plain;h=323db9eacf7f984727ca84692b98413fc4c1528d;p=gamesguru%2Fgit-remote-gcrypt.git avoid bashism git-remote-gcrypt is POSIX sh. Signed-off-by: Sean Whitton --- diff --git a/git-remote-gcrypt b/git-remote-gcrypt index 3e209e8..0cd4c0e 100755 --- a/git-remote-gcrypt +++ b/git-remote-gcrypt @@ -751,7 +751,7 @@ do_push() while IFS=: read -r src_ dst_ # << +src:dst do - if [ "+" != "${src_:0:1}" ] + if [ $(echo "$src_" | cut -c1) != + ] then force_passed=false fi