1 2 3 4 5 6 7 8 9 10
WORKSPACE=${WORKSPACE:-$( cd $(dirname $0)/../../.. ; pwd -P )} XBMC_PLATFORM_DIR=osx32 . $WORKSPACE/tools/buildsteps/defaultenv cd $WORKSPACE/tools/darwin/packaging/osx/; sh ./mkdmg-osx.sh $Configuration #rename for upload #e.x. kodi-20130314-8c2fb31-Frodo-i386.dmg UPLOAD_FILENAME="kodi-$(getBuildRevDateStr)-i386.dmg" mv *.dmg $UPLOAD_FILENAME