mirror of
https://github.com/PaperMC/Paper.git
synced 2024-12-27 15:00:13 +01:00
[ci skip] Revert change to apatch script
This commit is contained in:
parent
ba5ef6e1ac
commit
258900b661
1 changed files with 1 additions and 1 deletions
|
@ -40,7 +40,7 @@ fi
|
||||||
for i in $(find . -name \*.rej); do
|
for i in $(find . -name \*.rej); do
|
||||||
base=$(echo "$i" | sed 's/.rej//g')
|
base=$(echo "$i" | sed 's/.rej//g')
|
||||||
if [ -f "$i" ]; then
|
if [ -f "$i" ]; then
|
||||||
sed -e 's/^diff a\/\(.*\) b\/\(.*\)[[:space:]].*rejected.*$/--- \1\n+++ \2/' -i '' $i && wiggle -v -l --replace "$base" "$i"
|
sed -e 's/^diff a\/\(.*\) b\/\(.*\)[[:space:]].*rejected.*$/--- \1\n+++ \2/' -i $i && wiggle -v -l --replace "$base" "$i"
|
||||||
rm "$base.porig" "$i"
|
rm "$base.porig" "$i"
|
||||||
else
|
else
|
||||||
echo "No such file: $base"
|
echo "No such file: $base"
|
||||||
|
|
Loading…
Reference in a new issue