From 45e8dc008296bce3faec9d76fedb4bdc2b7c20db Mon Sep 17 00:00:00 2001 From: "S. Davilla" Date: Sun, 14 Aug 2011 20:58:51 -0400 Subject: [ios] add ability to use fauxsu instead of sudo for creating debs --- tools/darwin/packaging/xbmc-atv2/mkdeb-xbmc-atv2.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'tools/darwin/packaging/xbmc-atv2/mkdeb-xbmc-atv2.sh') diff --git a/tools/darwin/packaging/xbmc-atv2/mkdeb-xbmc-atv2.sh b/tools/darwin/packaging/xbmc-atv2/mkdeb-xbmc-atv2.sh index e324b2aa80..9b9ec8bf2a 100755 --- a/tools/darwin/packaging/xbmc-atv2/mkdeb-xbmc-atv2.sh +++ b/tools/darwin/packaging/xbmc-atv2/mkdeb-xbmc-atv2.sh @@ -20,7 +20,9 @@ if [ ! -d $XBMC ]; then echo "XBMC.frappliance 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 -- cgit v1.2.3