pipefail requires removing -q

https://github.com/ankitects/anki/pull/464#discussion_r384485166
This commit is contained in:
Damien Elmes 2020-02-27 12:49:52 +10:00
parent 4d917cc65b
commit 34fcbf6af8

View file

@ -9,7 +9,7 @@ git log --pretty=format:' - %ae' CONTRIBUTORS |sort |uniq |sort -f | sed "s/@/$a
headAuthor=$(git log -1 --pretty=format:'%ae') headAuthor=$(git log -1 --pretty=format:'%ae')
authorAt=$(echo "$headAuthor" | sed "s/@/$antispam/") authorAt=$(echo "$headAuthor" | sed "s/@/$antispam/")
if git log --pretty=format:'%ae' CONTRIBUTORS | grep -qi "$headAuthor"; then if git log --pretty=format:'%ae' CONTRIBUTORS | grep -i "$headAuthor"; then
echo "Author $authorAt found in CONTRIBUTORS" echo "Author $authorAt found in CONTRIBUTORS"
else else
echo "Author $authorAt NOT found in list" echo "Author $authorAt NOT found in list"