Updated package.sh to fit new directory structure.

This commit is contained in:
Faerbit 2015-02-15 11:20:03 +01:00
parent 431a9e58b1
commit de2ba0acb9

View File

@ -28,11 +28,7 @@ rc=$?
if [[ $rc == 0 ]] if [[ $rc == 0 ]]
then then
mkdir "MarbleGame_${platform^}" mkdir "MarbleGame_${platform^}"
cp -r binaries Levels Shader "MarbleGame_${platform^}" cp -r binaries data "MarbleGame_${platform^}"
zip -r "MarbleGame_${platform^}.zip" "MarbleGame_${platform^}" zip -r "MarbleGame_${platform^}.zip" "MarbleGame_${platform^}"
if hash megacmd 2>/dev/null && [[ "$2" == "mega" ]]
then
megacmd sync "MarbleGame_${platform^}.zip" mega:/GameBuilds/
fi
rm -rf "MarbleGame_${platform^}" rm -rf "MarbleGame_${platform^}"
fi fi