From e69a71427cd7ebfe9fd86ced65f87521878e409f Mon Sep 17 00:00:00 2001 From: "Justin M. Keyes" Date: Fri, 2 Feb 2018 01:33:34 +0100 Subject: vim-patch.sh: remove --posix from patch invocation This was supposed to avoid creating *.orig. It doesn't do that, and worse, it also seems to prevent new files from being created. --- 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 ac5e326e9d..90a731710a 100755 --- a/scripts/vim-patch.sh +++ b/scripts/vim-patch.sh @@ -234,7 +234,7 @@ stage_patch() { printf "\n✘ 'patch' command not found\n" else printf "\nApplying patch...\n" - patch -p1 --posix < "${patch_file}" || true + patch -p1 < "${patch_file}" || true fi printf "\nInstructions:\n Proceed to port the patch.\n" else -- cgit From b67ce84c453e5db5dd28fdb55efde89b07ecad40 Mon Sep 17 00:00:00 2001 From: "Justin M. Keyes" Date: Fri, 2 Feb 2018 21:56:22 +0100 Subject: vim-patch.sh: delete *.orig files --- scripts/vim-patch.sh | 1 + 1 file changed, 1 insertion(+) (limited to 'scripts/vim-patch.sh') diff --git a/scripts/vim-patch.sh b/scripts/vim-patch.sh index 90a731710a..c7a23abe5e 100755 --- a/scripts/vim-patch.sh +++ b/scripts/vim-patch.sh @@ -235,6 +235,7 @@ stage_patch() { else printf "\nApplying patch...\n" patch -p1 < "${patch_file}" || true + find -name '*.orig' -type f -delete fi printf "\nInstructions:\n Proceed to port the patch.\n" else -- cgit