Made Mega upload optional.

This commit is contained in:
Faerbit 2014-11-26 00:39:26 +01:00
parent 1d3ec46893
commit 85be96d302

View File

@ -30,7 +30,7 @@ then
mkdir "MarbleGame_${platform^}"
cp -r binaries Levels Shader "MarbleGame_${platform^}"
zip -r "MarbleGame_${platform^}.zip" "MarbleGame_${platform^}"
if hash megacmd 2>/dev/null
if [ hash megacmd 2>/dev/null && $2 == "mega" ]
then
megacmd -force put "MarbleGame_${platform^}.zip" mega:/GameBuilds/
fi