updated make_diff, added check_diff

--HG--
branch : novattd150
This commit is contained in:
Pavel Stupnikov
2015-03-20 04:19:13 +03:00
parent 872b53464c
commit 2737dc1f75
2 changed files with 22 additions and 1 deletions

13
check_diff.sh Executable file
View File

@@ -0,0 +1,13 @@
DIFF=$1
ORIG_PATH=$2
TMP=/tmp/openttd_original
rm -rf $TMP
cp -r $ORIG_PATH $TMP
mkdir $TMP/bin
cp -r bin/data $TMP/bin
patch -p1 -d $TMP < $DIFF
pushd $TMP
./configure
make clean
make
popd