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