aboutsummaryrefslogtreecommitdiff
path: root/tools/darwin/packaging/xbmc-ios
diff options
context:
space:
mode:
Diffstat (limited to 'tools/darwin/packaging/xbmc-ios')
-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
1 files changed, 4 insertions, 3 deletions
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