aboutsummaryrefslogtreecommitdiff
path: root/tools/darwin/packaging/xbmc-ios
diff options
context:
space:
mode:
authorS. Davilla <davilla@4pi.com>2014-05-18 14:48:56 -0400
committerS. Davilla <davilla@4pi.com>2014-05-18 16:10:32 -0400
commita0a6e40a6299ff004353603201e6d60f569c1a2c (patch)
tree788af96ff848c25cce9b6d7d42ba56dbdd13edcc /tools/darwin/packaging/xbmc-ios
parentb68aa9c596757475ad484be5b8ea2683fa591e0c (diff)
[darwin] fix building from user set prefix path. move XBMC_DEPENDS_ROOT to xconfig and set it during configure
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