From 0ebd642d150a361b7dcae2e4989c8687bf0f9735 Mon Sep 17 00:00:00 2001 From: Aikar Date: Thu, 12 May 2016 21:24:19 -0400 Subject: [PATCH] Be more targetted with patch deletion --- scripts/rebuildPatches.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/rebuildPatches.sh b/scripts/rebuildPatches.sh index 10bb3eb9a1..d7eb8c1939 100755 --- a/scripts/rebuildPatches.sh +++ b/scripts/rebuildPatches.sh @@ -41,7 +41,7 @@ function savePatches { for i in $(seq -w 1 1 $last) do if [ $i -lt $next ]; then - rm 0$i-* + rm 0${i}-*.patch fi done else