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
echo "Updating source code..."
currentDir=$PWD
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null && pwd )"
cd $DIR
cd ../..
git pull
echo "Updating game data..."
@@ -9,4 +12,4 @@ cd build
mkdir data
cd data
git pull
cd ../..
cd $currentDir

View File

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