Files
vgstation13/install-byond.sh
sood c10774c928 Possible fix to travis thinking that BYOND install is downloaded when it isn't (#12269)
* Possible fix to travis thinking that BYOND install is downloaded when it isn't

* honk

* please stop having syntax errors

* fuck yoooou

* W H I T E S P A C E
2016-10-18 20:23:09 -07:00

15 lines
435 B
Bash

#!/bin/bash
set -e
if [ -e "$HOME/BYOND-${BYOND_MAJOR}.${BYOND_MINOR}/byond/bin/DreamMaker" ];
then
echo "Using cached directory."
else
echo "Setting up BYOND."
mkdir -p "$HOME/BYOND-${BYOND_MAJOR}.${BYOND_MINOR}"
cd "$HOME/BYOND-${BYOND_MAJOR}.${BYOND_MINOR}"
curl "http://www.byond.com/download/build/${BYOND_MAJOR}/${BYOND_MAJOR}.${BYOND_MINOR}_byond_linux.zip" -o byond.zip
unzip -o byond.zip
cd byond
make here
fi