diff options
author | Sean Whitton <spwhitton@spwhitton.name> | 2020-07-24 15:24:54 -0700 |
---|---|---|
committer | Sean Whitton <spwhitton@spwhitton.name> | 2020-07-24 15:24:54 -0700 |
commit | 323db9eacf7f984727ca84692b98413fc4c1528d (patch) | |
tree | f368ef38d7ebe04c738113fda113aa7113b73910 | |
parent | a70fa34c9de7c91a3fda4fdc2303b405e08adc5b (diff) | |
download | git-remote-gcrypt-323db9eacf7f984727ca84692b98413fc4c1528d.tar.gz |
avoid bashism
git-remote-gcrypt is POSIX sh.
Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
-rwxr-xr-x | git-remote-gcrypt | 2 |
1 files changed, 1 insertions, 1 deletions
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 |