mirror of
https://github.com/neovim/neovim.git
synced 2024-12-19 10:45:16 -07:00
scripts/vim-patch.sh: continue when patching with -P fails (#7790)
The `set -e` caused the script to stop in case `patch` fails, but it is better to continue giving instructions.
This commit is contained in:
parent
9dc90fcde1
commit
0d548b73ef
@ -234,7 +234,7 @@ stage_patch() {
|
||||
printf "\n✘ 'patch' command not found\n"
|
||||
else
|
||||
printf "\nApplying patch...\n"
|
||||
patch -p1 --posix < "${patch_file}"
|
||||
patch -p1 --posix < "${patch_file}" || true
|
||||
fi
|
||||
printf "\nInstructions:\n Proceed to port the patch.\n"
|
||||
else
|
||||
|
Loading…
Reference in New Issue
Block a user