aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJames McCoy <jamessan@jamessan.com>2016-11-15 07:53:01 -0500
committerJames McCoy <jamessan@jamessan.com>2016-11-15 07:53:01 -0500
commit10c72cd3658e17aafa41b5752c23d97df88fc71f (patch)
tree0aff77e28f8abfb68f3f92a7ff4044eee72d9c02
parentd28d108648106a19d81b1804211fa195c7fb14f7 (diff)
downloadrneovim-10c72cd3658e17aafa41b5752c23d97df88fc71f.tar.gz
rneovim-10c72cd3658e17aafa41b5752c23d97df88fc71f.tar.bz2
rneovim-10c72cd3658e17aafa41b5752c23d97df88fc71f.zip
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.
-rwxr-xr-xscripts/vim-patch.sh1
1 files changed, 0 insertions, 1 deletions
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