ForgePatch/forge/install/install.sh
LexManos b883254220 Cleaned up a few things related to MLProp
Deleted unmaintained fernflower patch.
2011-12-05 08:30:07 +00:00

25 lines
535 B
Bash

#!/bin/bash
echo "MinecraftForge Linux Setup Program"
echo
pushd .. > /dev/null
./cleanup.sh
./decompile.sh
pushd src > /dev/null
find . -name *.java -exec sed -i 's/\r//g' \{\} \;
cp ../forge/MLProp.java minecraft/net/minecraft/src/MLProp.java
cp ../forge/MLProp.java minecraft_server/net/minecraft/src/MLProp.java
patch -p2 -i ../forge/modLoaderMP.patch
#patch -p1 -i ../forge/mlprop.patch
for i in `find ../forge/patches/ -type f`
do
patch -p2 -i $i
done
popd > /dev/null
cp -r forge/src/* src
./updatemd5.sh