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:
Daniel Hahler 2017-12-30 14:15:51 +01:00 committed by Justin M. Keyes
parent 9dc90fcde1
commit 0d548b73ef

View File

@ -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