Fix making craftbukkit patches.

This commit is contained in:
Bammerbom 2014-12-13 20:04:54 +01:00
parent 01f0122a9e
commit 3d1cdfa2b1

View file

@ -12,6 +12,7 @@ for file in $(/bin/ls $cb)
do
echo "Diffing $file"
sed -i 's/\r//' "$nms/$file"
sed -i 's/\r//' "$cb/$file"
outName=$(echo nms-patches/"$(echo $file | cut -d. -f1)".patch)
patchNew=$(diff -u "$nms/$file" "$cb/$file")
if [ -f "$outName" ]