WORKSPACE=${WORKSPACE:-$( cd $(dirname $0)/../../.. ; pwd -P )} XBMC_PLATFORM_DIR=ios . $WORKSPACE/tools/buildsteps/defaultenv #ensure that dpkg tools are used from our toolchain export PATH=$XBMC_DEPENDS_ROOT/buildtools-native/bin/:$PATH cd $WORKSPACE/tools/darwin/packaging/ios/;sh mkdeb-ios.sh $Configuration #rename for upload #e.x. kodi-20130314-8c2fb31-Frodo-ios.deb UPLOAD_FILENAME="kodi-$(getBuildRevDateStr)-ios.deb" mv *.deb $UPLOAD_FILENAME