Change FOR_ALL_ cycles to ::Iterate
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user