mirror of
https://github.com/Relintai/osxcross.git
synced 2025-02-08 02:55:56 +01:00
fix for #39
This commit is contained in:
parent
56eba88a9b
commit
d6f4510aec
6
build.sh
6
build.sh
@ -153,8 +153,8 @@ else
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
CCTOOLS="cctools-862-ld64-$LINKER_VERSION"
|
CCTOOLS="cctools-862-ld64-$LINKER_VERSION"
|
||||||
CCTOOLS_TARBALL=`ls $TARBALL_DIR/$CCTOOLS*.tar.* | head -n1`
|
CCTOOLS_TARBALL=$(ls $TARBALL_DIR/$CCTOOLS*.tar.* | head -n1)
|
||||||
CCTOOLS_REVHASH=`echo "$CCTOOLS_TARBALL" head -n1 | tr '_' ' ' | tr '.' ' ' | awk '{print $3}'`
|
CCTOOLS_REVHASH=$(echo $(basename "$CCTOOLS_TARBALL") | tr '_' ' ' | tr '.' ' ' | awk '{print $3}')
|
||||||
|
|
||||||
if [ ! -f "have_cctools_${CCTOOLS_REVHASH}_$TARGET" ]; then
|
if [ ! -f "have_cctools_${CCTOOLS_REVHASH}_$TARGET" ]; then
|
||||||
|
|
||||||
@ -235,7 +235,7 @@ fi
|
|||||||
fi
|
fi
|
||||||
# XAR END
|
# XAR END
|
||||||
|
|
||||||
if [ ! -f "have_cctools_$TARGET" ]; then
|
if [ ! -f "have_cctools_${CCTOOLS_REVHASH}_$TARGET" ]; then
|
||||||
|
|
||||||
function check_cctools()
|
function check_cctools()
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user