fix rebuild patches and rebuild current patches

This commit is contained in:
Aikar
2016-03-21 20:46:54 -04:00
parent 4916cd2551
commit 9300f163fd
2 changed files with 3 additions and 3 deletions

View File

@@ -30,6 +30,8 @@ function savePatches {
target=$2
echo "Formatting patches for $what..."
cd "$basedir/$target"
rm -rf "$basedir/${what_name}-Patches/*.patch"
git format-patch --no-stat -N -o "$basedir/${what_name}-Patches/" upstream/upstream >/dev/null
cd "$basedir"
git add -A "$basedir/${what_name}-Patches"