Created
July 5, 2015 18:49
-
-
Save tpoechtrager/37ee39e787680eff1c39 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/build.sh b/build.sh | |
index b6954c8..f666b3f 100755 | |
--- a/build.sh | |
+++ b/build.sh | |
@@ -163,7 +163,7 @@ fi | |
CCTOOLS="cctools-862-ld64-$LINKER_VERSION" | |
CCTOOLS_TARBALL=`ls $TARBALL_DIR/$CCTOOLS*.tar.* | head -n1` | |
-CCTOOLS_REVHASH=`echo "$CCTOOLS_TARBALL" head -n1 | tr '_' ' ' | tr '.' ' ' | awk '{print $3}'` | |
+CCTOOLS_REVHASH=`echo "$CCTOOLS_TARBALL" | tr '_' ' ' | tr '.' ' ' | awk '{print $3}'` | |
if [ ! -f "have_cctools_${CCTOOLS_REVHASH}_$TARGET" ]; then | |
@@ -231,14 +231,9 @@ fi | |
fi | |
# XAR END | |
-if [ ! -f "have_cctools_$TARGET" ]; then | |
- | |
touch "have_cctools_${CCTOOLS_REVHASH}_$TARGET" | |
- | |
echo "" | |
-fi # HAVE_CCTOOLS | |
- | |
set +e | |
ls $TARBALL_DIR/MacOSX$SDK_VERSION* &>/dev/null | |
while [ $? -ne 0 ] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment