mirror of
https://github.com/PaperMC/Paper.git
synced 2024-12-22 06:25:15 +01:00
Fix rebuild patches for real this time.
This commit is contained in:
parent
644e6827c4
commit
1d83dde411
1 changed files with 4 additions and 1 deletions
|
@ -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"
|
||||
|
|
Loading…
Reference in a new issue