aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJason Felice <jason.m.felice@gmail.com>2018-08-08 16:56:55 -0700
committerJustin M. Keyes <justinkz@gmail.com>2018-08-09 01:56:55 +0200
commitc7efc6047d9cae42657b37fd19f617843a2f6d2f (patch)
treea64251b2b139c0d042528bad16b608449085e033
parentd58139877990ed164c0be05569ea97a825a43117 (diff)
downloadrneovim-c7efc6047d9cae42657b37fd19f617843a2f6d2f.tar.gz
rneovim-c7efc6047d9cae42657b37fd19f617843a2f6d2f.tar.bz2
rneovim-c7efc6047d9cae42657b37fd19f617843a2f6d2f.zip
vim-patch.sh: Pass directory name to find (#8830)
BSD/Mac find requires directory names before arguments.
-rwxr-xr-xscripts/vim-patch.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/vim-patch.sh b/scripts/vim-patch.sh
index 22f946ebd9..59674eb63a 100755
--- a/scripts/vim-patch.sh
+++ b/scripts/vim-patch.sh
@@ -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