vim-patch.sh: Pass directory name to find (#8830)

BSD/Mac find requires directory names before arguments.
This commit is contained in:
Jason Felice 2018-08-08 16:56:55 -07:00 committed by Justin M. Keyes
parent d581398779
commit c7efc6047d

View File

@ -244,7 +244,7 @@ stage_patch() {
else
printf "\nApplying patch...\n"
patch -p1 < "${patch_file}" || true
find -name '*.orig' -type f -delete
find . -name '*.orig' -type f -delete
fi
printf "\nInstructions:\n Proceed to port the patch.\n"
else