diff options
author | Memphiz <memphis@machzwo.de> | 2011-09-15 03:14:56 +0200 |
---|---|---|
committer | Memphiz <memphis@machzwo.de> | 2011-09-15 14:14:28 +0200 |
commit | f004a5d393e28ae88ca0fb2e22c7efdf486af63e (patch) | |
tree | 98cb8ed2010df8389487a82b7d6d5807c3012ea8 /tools/darwin/packaging/xbmc-atv2/mkdeb-xbmc-atv2.sh | |
parent | 870a64e1162255b1b164d92ed61312ecd96b8d80 (diff) |
[buildbot] - save dsym files for ios/atv2
Diffstat (limited to 'tools/darwin/packaging/xbmc-atv2/mkdeb-xbmc-atv2.sh')
-rwxr-xr-x | tools/darwin/packaging/xbmc-atv2/mkdeb-xbmc-atv2.sh | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/tools/darwin/packaging/xbmc-atv2/mkdeb-xbmc-atv2.sh b/tools/darwin/packaging/xbmc-atv2/mkdeb-xbmc-atv2.sh index d011bce0b5..add8ce1623 100755 --- a/tools/darwin/packaging/xbmc-atv2/mkdeb-xbmc-atv2.sh +++ b/tools/darwin/packaging/xbmc-atv2/mkdeb-xbmc-atv2.sh @@ -3,19 +3,30 @@ # Allows us to run mkdeb-xbmc-atv2.sh from anywhere in the three, rather than the tools/darwin/packaging/xbmc-atv2 folder only SWITCH=`echo $1 | tr [A-Z] [a-z]` DIRNAME=`dirname $0` +DSYM_TARGET_DIR=/Users/Shared/xbmc-depends/dSyms +DSYM_FILENAME=XBMC.frappliance.dSYM if [ ${SWITCH:-""} = "debug" ]; then echo "Packaging Debug target for ATV2" XBMC="$DIRNAME/../../../../build/Debug-iphoneos/XBMC.frappliance" + DSYM="$DIRNAME/../../../../build/Debug-iphoneos/$DSYM_FILENAME" elif [ ${SWITCH:-""} = "release" ]; then echo "Packaging Release target for ATV2" XBMC="$DIRNAME/../../../../build/Release-iphoneos/XBMC.frappliance" + DSYM="$DIRNAME/../../../../build/Release-iphoneos/$DSYM_FILENAME" echo $XBMC else echo "You need to specify the build target" exit 1 fi +#copy bzip2 of dsym to xbmc-depends install dir +if [ -d $DSYM ]; then + if [ -d $DSYM_TARGET_DIR ]; then + tar -C $DSYM/.. -c $DSYM_FILENAME/ | bzip2 > $DSYM_TARGET_DIR/`../../../buildbot/gitrev-posix`-${DSYM_FILENAME}.tar.bz2 + fi +fi + if [ ! -d $XBMC ]; then echo "XBMC.frappliance not found! are you sure you built $1 target?" exit 1 |