From d82250d61164d73791090cd421293a9cb595e455 Mon Sep 17 00:00:00 2001 From: Shane Freeder Date: Wed, 20 Dec 2017 13:17:32 +0000 Subject: [PATCH] [CI-SKIP] Fix apatch zsh support --- scripts/apatch.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/apatch.sh b/scripts/apatch.sh index 2fdd02b6b..164581dd4 100755 --- a/scripts/apatch.sh +++ b/scripts/apatch.sh @@ -1,7 +1,7 @@ #!/bin/bash noapply=1 isreject=0 -if [ $1 == "--noapplied" ]; then +if [[ $1 == "--noapplied" ]]; then noapply=1 shift fi @@ -64,7 +64,7 @@ fi echo " " echo "==========================="; fi - git st + git status git diff ) if [[ "$noapply" != "1" ]] && [[ "$file" != *-applied.patch ]]; then