From 323db9eacf7f984727ca84692b98413fc4c1528d Mon Sep 17 00:00:00 2001 From: Sean Whitton Date: Fri, 24 Jul 2020 15:24:54 -0700 Subject: avoid bashism git-remote-gcrypt is POSIX sh. Signed-off-by: Sean Whitton --- git-remote-gcrypt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- cgit v1.2.3