Fixed Linux build scripts

This commit is contained in:
MathuSum Mut
2018-11-06 23:05:18 +01:00
parent 671d3c9e1c
commit f77f667174
2 changed files with 6 additions and 1 deletions

View File

@@ -1,5 +1,8 @@
#!/bin/bash #!/bin/bash
echo "Updating source code..." echo "Updating source code..."
currentDir=$PWD
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null && pwd )"
cd $DIR
cd ../.. cd ../..
git pull git pull
echo "Updating game data..." echo "Updating game data..."
@@ -9,4 +12,4 @@ cd build
mkdir data mkdir data
cd data cd data
git pull git pull
cd ../.. cd $currentDir

View File

@@ -5,6 +5,8 @@
# Copyright (c) 2011-2013 Mark Vejvoda under GNU GPL v3.0+ # Copyright (c) 2011-2013 Mark Vejvoda under GNU GPL v3.0+
echo "Initializing ZetaGlest setup..." echo "Initializing ZetaGlest setup..."
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null && pwd )"
cd $DIR
echo echo
echo "Downloading game data..." echo "Downloading game data..."
mkdir build mkdir build