Change FOR_ALL_ cycles to ::Iterate

This commit is contained in:
dP
2020-01-06 20:45:47 +03:00
parent 1492a22027
commit 47b70f6769
16 changed files with 39 additions and 54 deletions

View File

@@ -4,6 +4,7 @@ curdir=`pwd`
echo $dir
cd $dir
wget https://proxy.binaries.openttd.org/openttd-releases/$version/openttd-$version-source.tar.xz
#cp ~/Downloads/openttd-$version-source.tar.xz .
tar xf openttd-$version-source.tar.xz
ttdir=$dir/openttd-$version
cp -r $ttdir/* $curdir
@@ -13,6 +14,6 @@ find . -type f > $dir/ttd_files
cd objs/release
make $ttdir/src/rev.cpp
cd $curdir
cp $ttdir/src/rev.cpp src/
cat $dir/ttd_files | xargs git add
cp $ttdir/src/rev.cpp src
cat $dir/ttd_files | xargs hg add
rm -rf $dir