]> git.saurik.com Git - cycript.git/commitdiff
Force Fink's PATH (but only when required).
authorJay Freeman (saurik) <saurik@saurik.com>
Wed, 23 Nov 2011 12:09:17 +0000 (12:09 +0000)
committerJay Freeman (saurik) <saurik@saurik.com>
Wed, 23 Nov 2011 12:09:17 +0000 (12:09 +0000)
ios.sh

diff --git a/ios.sh b/ios.sh
index 0ad11143c8e253a6c181ac666a623f47b9646f35..554139a07368dc400752fccf03a01ce068fae3c6 100755 (executable)
--- a/ios.sh
+++ b/ios.sh
@@ -10,7 +10,7 @@ for deb in apr-lib_1.3.3-2 libffi_130618-4 readline_6.0-7; do
     [[ -f "${deb}" ]] || wget http://apt.saurik.com/debs/"${deb}"
     tar=data.tar.lzma
     ar -x "${deb}" "${tar}"
-    tar -C sysroot.ios -xf "${tar}"
+    PATH=/sw/bin:$PATH tar -C sysroot.ios -xf "${tar}"
     rm -f "${tar}"
 done
 
@@ -64,4 +64,4 @@ export LTFLAGS=${lflags}
 
 make clean
 make -j ldid=ldid all
-make arch=iphoneos-arm version=432 dll=dylib depends='apr-lib readline libffi mobilesubstrate' package
+PATH=/sw/bin:$PATH make arch=iphoneos-arm version=432 dll=dylib depends='apr-lib readline libffi mobilesubstrate' package