mirror of
https://github.com/PaperMC/Paper.git
synced 2025-08-05 06:32:17 -07:00
Fix making craftbukkit patches.
This commit is contained in:
@@ -12,6 +12,7 @@ for file in $(/bin/ls $cb)
|
|||||||
do
|
do
|
||||||
echo "Diffing $file"
|
echo "Diffing $file"
|
||||||
sed -i 's/\r//' "$nms/$file"
|
sed -i 's/\r//' "$nms/$file"
|
||||||
|
sed -i 's/\r//' "$cb/$file"
|
||||||
outName=$(echo nms-patches/"$(echo $file | cut -d. -f1)".patch)
|
outName=$(echo nms-patches/"$(echo $file | cut -d. -f1)".patch)
|
||||||
patchNew=$(diff -u "$nms/$file" "$cb/$file")
|
patchNew=$(diff -u "$nms/$file" "$cb/$file")
|
||||||
if [ -f "$outName" ]
|
if [ -f "$outName" ]
|
||||||
|
Reference in New Issue
Block a user