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

'Properly' fix rebuildpatches

Dieser Commit ist enthalten in:
Zach Brown 2016-04-03 05:05:52 -05:00
Ursprung 1a58ea5d49
Commit 959d6ac882

Datei anzeigen

@ -1,7 +1,6 @@
#!/usr/bin/env bash
(
set -e
PS1="$"
basedir="$(cd "$1" && pwd -P)"
workdir="$basedir/work"
@ -17,9 +16,7 @@ function cleanupPatches {
testver=$(echo "$diffs" | tail -n 2 | grep -ve "^$" | tail -n 1 | grep "$gitver")
if [ "x$testver" != "x" ]; then
set +e
diffs=$(echo "$diffs" | sed 'N;$!P;$!D;$d')
set -e
fi
if [ "x$diffs" == "x" ] ; then