From 10c72cd3658e17aafa41b5752c23d97df88fc71f Mon Sep 17 00:00:00 2001 From: James McCoy Date: Tue, 15 Nov 2016 07:53:01 -0500 Subject: vim-patch.sh: Remove "set -o pipefail" grep 2.26 changed its behavior when redirecting its output to /dev/null such that it exits as soon as one match is found. This causes sed to get a SIGPIPE which, due to "set -o pipefail", falsely implies that the patch is not applied. Removing "set -o pipefail" preserves the good exit status from grep. --- scripts/vim-patch.sh | 1 - 1 file changed, 1 deletion(-) (limited to 'scripts') diff --git a/scripts/vim-patch.sh b/scripts/vim-patch.sh index de101357db..fd2bc8199f 100755 --- a/scripts/vim-patch.sh +++ b/scripts/vim-patch.sh @@ -2,7 +2,6 @@ set -e set -u -set -o pipefail # Use privileged mode, which e.g. skips using CDPATH. set -p -- cgit