mirror of
https://github.com/neovim/neovim.git
synced 2024-12-20 03:05:11 -07:00
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.
This commit is contained in:
parent
d28d108648
commit
10c72cd365
@ -2,7 +2,6 @@
|
||||
|
||||
set -e
|
||||
set -u
|
||||
set -o pipefail
|
||||
# Use privileged mode, which e.g. skips using CDPATH.
|
||||
set -p
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user