mirror of
https://github.com/neovim/neovim.git
synced 2025-09-07 11:58:17 +00: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:

committed by
Justin M. Keyes

parent
9dc90fcde1
commit
0d548b73ef
@@ -234,7 +234,7 @@ stage_patch() {
|
||||
output="$(commit_message | git commit --allow-empty --file 2>&1 -)" &&
|
||||
echo "✔ ${output}" ||
|
||||
(echo "✘ ${output}"; false)
|
||||
|
||||
|
||||
if test -n "$try_apply" ; then
|
||||
if ! check_executable patch; then
|
||||
printf "\n✘ 'patch' command not found\n"
|
||||
|
Reference in New Issue
Block a user