mirror of
https://github.com/glest/glest-source.git
synced 2025-08-29 19:00:07 +02:00
Split script in two file
This commit is contained in:
16
mk/linux/clone-data.sh
Normal file
16
mk/linux/clone-data.sh
Normal file
@@ -0,0 +1,16 @@
|
||||
#!/bin/bash
|
||||
echo "Downloading game data..."
|
||||
currentDir=$PWD
|
||||
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null && pwd )"
|
||||
|
||||
cd $DIR
|
||||
mkdir build
|
||||
cd build
|
||||
git clone https://github.com/ZetaGlest/zetaglest-data.git data
|
||||
cd ..
|
||||
|
||||
if [ `id -u`'x' == '0x' ] || [ "$1" == "--manually" ]; then
|
||||
chmod -R 777 build/
|
||||
fi
|
||||
|
||||
cd $currentDir
|
Reference in New Issue
Block a user