diff options
Diffstat (limited to 'tools/darwin/packaging')
-rw-r--r--[-rwxr-xr-x] | tools/darwin/packaging/xbmc-atv2/mkdeb-xbmc-atv2.sh.in (renamed from tools/darwin/packaging/xbmc-atv2/mkdeb-xbmc-atv2.sh) | 7 | ||||
-rw-r--r--[-rwxr-xr-x] | tools/darwin/packaging/xbmc-ios/mkdeb-xbmc-ios.sh.in (renamed from tools/darwin/packaging/xbmc-ios/mkdeb-xbmc-ios.sh) | 7 |
2 files changed, 8 insertions, 6 deletions
diff --git a/tools/darwin/packaging/xbmc-atv2/mkdeb-xbmc-atv2.sh b/tools/darwin/packaging/xbmc-atv2/mkdeb-xbmc-atv2.sh.in index 9a1e26232f..ec15372fd9 100755..100644 --- a/tools/darwin/packaging/xbmc-atv2/mkdeb-xbmc-atv2.sh +++ b/tools/darwin/packaging/xbmc-atv2/mkdeb-xbmc-atv2.sh.in @@ -1,9 +1,10 @@ #!/bin/sh # usage: ./mkdeb-xbmc-atv2.sh release/debug (case insensitive) # Allows us to run mkdeb-xbmc-atv2.sh from anywhere in the three, rather than the tools/darwin/packaging/xbmc-atv2 folder only +XBMC_DEPENDS_ROOT=@DEPENDS_ROOT_FOR_XCODE@ SWITCH=`echo $1 | tr [A-Z] [a-z]` DIRNAME=`dirname $0` -DSYM_TARGET_DIR=/Users/Shared/xbmc-depends/dSyms +DSYM_TARGET_DIR=${XBMC_DEPENDS_ROOT}/dSyms DSYM_FILENAME=XBMC.frappliance.dSYM if [ ${SWITCH:-""} = "debug" ]; then @@ -36,9 +37,9 @@ if [ -f "/usr/libexec/fauxsu/libfauxsu.dylib" ]; then elif [ -f "/usr/bin/sudo" ]; then SUDO="/usr/bin/sudo" fi -if [ -f "/Users/Shared/xbmc-depends/buildtools-native/bin/dpkg-deb" ]; then +if [ -f "$XBMC_DEPENDS_ROOT/buildtools-native/bin/dpkg-deb" ]; then # make sure we pickup our tar, gnutar will fail when dpkg -i - bin_path=$(cd /Users/Shared/xbmc-depends/buildtools-native/bin; pwd) + bin_path=$(cd ${XBMC_DEPENDS_ROOT}/buildtools-native/bin; pwd) export PATH=${bin_path}:${PATH} fi diff --git a/tools/darwin/packaging/xbmc-ios/mkdeb-xbmc-ios.sh b/tools/darwin/packaging/xbmc-ios/mkdeb-xbmc-ios.sh.in index 432303a888..be99c0cb79 100755..100644 --- a/tools/darwin/packaging/xbmc-ios/mkdeb-xbmc-ios.sh +++ b/tools/darwin/packaging/xbmc-ios/mkdeb-xbmc-ios.sh.in @@ -2,9 +2,10 @@ # usage: ./mkdeb-xbmc-ios.sh release/debug (case insensitive) # Allows us to run mkdeb-xbmc-ios.sh from anywhere in the three, rather than the tools/darwin/packaging/xbmc-ios folder only +XBMC_DEPENDS_ROOT=@DEPENDS_ROOT_FOR_XCODE@ SWITCH=`echo $1 | tr [A-Z] [a-z]` DIRNAME=`dirname $0` -DSYM_TARGET_DIR=/Users/Shared/xbmc-depends/dSyms +DSYM_TARGET_DIR=${XBMC_DEPENDS_ROOT}/dSyms DSYM_FILENAME=XBMC.app.dSYM if [ ${SWITCH:-""} = "debug" ]; then @@ -37,9 +38,9 @@ if [ -f "/usr/libexec/fauxsu/libfauxsu.dylib" ]; then elif [ -f "/usr/bin/sudo" ]; then SUDO="/usr/bin/sudo" fi -if [ -f "/Users/Shared/xbmc-depends/buildtools-native/bin/dpkg-deb" ]; then +if [ -f "${XBMC_DEPENDS_ROOT}/buildtools-native/bin/dpkg-deb" ]; then # make sure we pickup our tar, gnutar will fail when dpkg -i - bin_path=$(cd /Users/Shared/xbmc-depends/buildtools-native/bin; pwd) + bin_path=$(cd ${XBMC_DEPENDS_ROOT}/buildtools-native/bin; pwd) export PATH=${bin_path}:${PATH} fi |