From c7efc6047d9cae42657b37fd19f617843a2f6d2f Mon Sep 17 00:00:00 2001 From: Jason Felice Date: Wed, 8 Aug 2018 16:56:55 -0700 Subject: vim-patch.sh: Pass directory name to find (#8830) BSD/Mac find requires directory names before arguments. --- scripts/vim-patch.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'scripts/vim-patch.sh') 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 -- cgit