mirror of
https://github.com/luanti-org/luanti.git
synced 2025-08-01 17:38:41 +00:00
Remove common from CMakeLists.txt, README.txt, lua-api.txt and buildwin.sh
This commit is contained in:
parent
714ecc5e27
commit
b76ec317c9
4 changed files with 3 additions and 31 deletions
|
@ -53,9 +53,6 @@ cd $builddir
|
|||
wget http://github.com/minetest/minetest/zipball/master \
|
||||
-c -O $packagedir/minetest.zip --tries=3 || (echo "Please download http://github.com/minetest/minetest/zipball/master manually and save it as $packagedir/minetest.zip"; read -s)
|
||||
[ -e $packagedir/minetest.zip ] || (echo "minetest.zip not found"; exit 1)
|
||||
wget http://github.com/minetest/common/zipball/master \
|
||||
-c -O $packagedir/common.zip --tries=3 || (echo "Please download http://github.com/minetest/common/zipball/master manually and save it as $packagedir/common.zip"; read -s)
|
||||
[ -e $packagedir/common.zip ] || (echo "common.zip not found"; exit 1)
|
||||
wget http://github.com/minetest/minetest_game/zipball/master \
|
||||
-c -O $packagedir/minetest_game.zip --tries=3 || (echo "Please download http://github.com/minetest/minetest_game/zipball/master manually and save it as $packagedir/minetest_game.zip"; read -s)
|
||||
[ -e $packagedir/minetest_game.zip ] || (echo "minetest_game.zip not found"; exit 1)
|
||||
|
@ -69,7 +66,6 @@ wget http://github.com/minetest/minetest_game/zipball/master \
|
|||
minetestdirname=`unzip -l $packagedir/minetest.zip | head -n 7 | tail -n 1 | sed -e 's/^[^m]*//' -e 's/\/.*$//'`
|
||||
minetestdir=$builddir/$minetestdirname || exit 1
|
||||
git_hash=`echo $minetestdirname | sed -e 's/minetest-minetest-//'`
|
||||
commondirname=`unzip -l $packagedir/common.zip | head -n 7 | tail -n 1 | sed -e 's/^[^m]*//' -e 's/\/.*$//'`
|
||||
minetest_gamedirname=`unzip -l $packagedir/minetest_game.zip | head -n 7 | tail -n 1 | sed -e 's/^[^m]*//' -e 's/\/.*$//'`
|
||||
|
||||
# Extract stuff
|
||||
|
@ -90,13 +86,6 @@ unzip -o $packagedir/minetest.zip || exit 1
|
|||
rm -rf $builddir/minetest
|
||||
ln -s $minetestdir $builddir/minetest
|
||||
|
||||
# Extract common
|
||||
cd $minetestdir/games || exit 1
|
||||
rm -rf common || exit 1
|
||||
unzip -o $packagedir/common.zip || exit 1
|
||||
commondir=$minetestdir/games/$commondirname || exit 1
|
||||
mv $commondir $minetestdir/games/common || exit 1
|
||||
|
||||
# Extract minetest_game
|
||||
cd $minetestdir/games || exit 1
|
||||
rm -rf minetest_game || exit 1
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue