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

BSD/Mac find requires directory names before arguments.
This commit is contained in:
Jason Felice authored and Justin M. Keyes committed 2018-08-09 01:56:55 +02:00
1 parent d581398779
commit c7efc6047d
1 file changed
+1 -1
+1 -1
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