Fixed setup.sh for mac

This commit is contained in:
mathusummut
2019-02-03 14:08:07 +01:00
parent 8ad98398ad
commit 1f492422a8
2 changed files with 4 additions and 4 deletions

View File

@@ -1,4 +1,4 @@
#!/bin/bash
#!/bin/sh
brew install sdl2 lua fontconfig freetype ftgl libogg glew libvorbis cppunit glib fribidi miniupnpc wxmac
brew outdated cmake || brew upgrade cmake; brew outdated pkgconfig || brew upgrade pkgconfig
brew install Caskroom/cask/xquartz

View File

@@ -1,10 +1,10 @@
#!/bin/bash
#!/bin/sh
echo
echo "Initializing Glest setup..."
currentDir=$PWD
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null && pwd )"
cd $DIR
./build-deps.sh
bash ./build-deps.sh
echo
./build.sh
bash ./build.sh
cd $currentDir