3
0
Mirror von https://github.com/PaperMC/Paper.git synchronisiert 2024-11-15 04:20:04 +01:00

Fix rebuild patches for real this time.

Dieser Commit ist enthalten in:
Aikar 2016-03-21 21:40:18 -04:00
Ursprung 644e6827c4
Commit 1d83dde411

Datei anzeigen

@ -29,9 +29,12 @@ function savePatches {
what_name=$(basename $what)
target=$2
echo "Formatting patches for $what..."
cd "$basedir/${what_name}-Patches/"
rm -rf *.patch
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"