mirror of
https://github.com/neovim/neovim.git
synced 2025-02-25 18:55:25 -06: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"
|
printf "\n✘ 'patch' command not found\n"
|
||||||
else
|
else
|
||||||
printf "\nApplying patch...\n"
|
printf "\nApplying patch...\n"
|
||||||
patch -p1 --posix < "${patch_file}"
|
patch -p1 --posix < "${patch_file}" || true
|
||||||
fi
|
fi
|
||||||
printf "\nInstructions:\n Proceed to port the patch.\n"
|
printf "\nInstructions:\n Proceed to port the patch.\n"
|
||||||
else
|
else
|
||||||
|
Loading…
Reference in New Issue
Block a user