mirror of
https://github.com/glest/glest-source.git
synced 2025-09-02 04:22:32 +02:00
Split script in two file
This commit is contained in:
@@ -1,20 +1,8 @@
|
||||
#!/bin/bash
|
||||
# Use this script to build ZetaGlest using cmake
|
||||
# ----------------------------------------------------------------------------
|
||||
# Written by Mark Vejvoda <mark_vejvoda@hotmail.com>
|
||||
# Copyright (c) 2011-2013 Mark Vejvoda under GNU GPL v3.0+
|
||||
echo
|
||||
echo "Initializing ZetaGlest setup..."
|
||||
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null && pwd )"
|
||||
cd $DIR
|
||||
./clone-data.sh
|
||||
echo
|
||||
echo "Downloading game data..."
|
||||
mkdir build
|
||||
cd build
|
||||
git clone https://github.com/ZetaGlest/zetaglest-data.git data
|
||||
cd ..
|
||||
./pull.sh
|
||||
echo
|
||||
./build-zg.sh
|
||||
if [ `id -u`'x' == '0x' ] || [ "$1" == "--manually" ]; then
|
||||
chmod -R 777 build/
|
||||
fi
|
||||
|
Reference in New Issue
Block a user