mirror of
https://github.com/neovim/neovim.git
synced 2024-12-29 14:41:06 -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 -e
|
||||||
set -u
|
set -u
|
||||||
set -o pipefail
|
|
||||||
# Use privileged mode, which e.g. skips using CDPATH.
|
# Use privileged mode, which e.g. skips using CDPATH.
|
||||||
set -p
|
set -p
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user