[CI-SKIP] Fix apatch zsh support

This commit is contained in:
Shane Freeder 2017-12-20 13:17:32 +00:00
parent 54f9e9fb1a
commit d82250d611
No known key found for this signature in database
GPG key ID: A3F61EA5A085289C

View file

@ -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