diff options
author | S. Davilla <davilla@4pi.com> | 2011-08-14 20:58:51 -0400 |
---|---|---|
committer | S. Davilla <davilla@4pi.com> | 2011-08-14 21:01:19 -0400 |
commit | 45e8dc008296bce3faec9d76fedb4bdc2b7c20db (patch) | |
tree | 35500826542139981626a99a0e971dd2d527f9a1 /tools/darwin/packaging/xbmc-ios/mkdeb-xbmc-ios.sh | |
parent | 054751375137db72c7087247718fbaf1115bff80 (diff) |
[ios] add ability to use fauxsu instead of sudo for creating debs
Diffstat (limited to 'tools/darwin/packaging/xbmc-ios/mkdeb-xbmc-ios.sh')
-rwxr-xr-x | tools/darwin/packaging/xbmc-ios/mkdeb-xbmc-ios.sh | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/tools/darwin/packaging/xbmc-ios/mkdeb-xbmc-ios.sh b/tools/darwin/packaging/xbmc-ios/mkdeb-xbmc-ios.sh index 4969056f36..5ebb67e869 100755 --- a/tools/darwin/packaging/xbmc-ios/mkdeb-xbmc-ios.sh +++ b/tools/darwin/packaging/xbmc-ios/mkdeb-xbmc-ios.sh @@ -20,7 +20,9 @@ if [ ! -d $XBMC ]; then echo "XBMC.app not found! are you sure you built $1 target?" exit 1 fi -if [ -f "/usr/bin/sudo" ]; then +if [ -f "/usr/libexec/fauxsu/libfauxsu.dylib" ]; then + export DYLD_INSERT_LIBRARIES=/usr/libexec/fauxsu/libfauxsu.dylib +elif [ -f "/usr/bin/sudo" ]; then SUDO="/usr/bin/sudo" fi if [ -f "/Users/Shared/xbmc-depends/toolchain/bin/dpkg-deb" ]; then |