]> git.saurik.com Git - cydia.git/blobdiff - sysroot.sh
Ignore .dSYM folders I am suddenly ending up with.
[cydia.git] / sysroot.sh
index 99c8889a2bca8aab5ba4af5f393b057ad57e83d3..a124baa30d1cff189f27e032b0ca7474bfb02e97 100755 (executable)
@@ -1,5 +1,7 @@
 #!/usr/bin/env bash
 
+set -e
+
 if [[ ${BASH_VERSION} != 4* ]]; then
     echo "bash 4.0 required" 1>&2
     exit 1
@@ -100,9 +102,9 @@ mkdir -p usr/include
 cd usr/include
 
 mkdir CoreFoundation
-wget -O CoreFoundation/CFUniChar.h "http://www.opensource.apple.com/source/CF/CF-550/CFUniChar.h?txt"
+wget --no-check-certificate -O CoreFoundation/CFUniChar.h "https://opensource.apple.com/source/CF/CF-550/CFUniChar.h"
 
 mkdir -p WebCore
-wget -O WebCore/WebCoreThread.h 'http://www.opensource.apple.com/source/WebCore/WebCore-658.28/wak/WebCoreThread.h?txt'
+wget --no-check-certificate -O WebCore/WebCoreThread.h "https://opensource.apple.com/source/WebCore/WebCore-658.28/wak/WebCoreThread.h"
 
 ln -s /System/Library/Frameworks/IOKit.framework/Headers IOKit