mirror of
https://github.com/Relintai/osxcross.git
synced 2025-02-08 02:55:56 +01:00
Revert "gen_sdk_package.sh: Use a more general pattern for finding the SDKs"
This reverts commit 2752b1c9e2
.
It breaks the script on my Computer. Arch Linux.
This commit is contained in:
parent
9643e9a05e
commit
58c372da6a
@ -148,10 +148,10 @@ else
|
|||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
SDKS=$(ls | grep -E "^MacOSX\d.*" | grep -v Patch || echo)
|
SDKS=$(ls | grep -E "^MacOSX12.*|^MacOSX11.*|^MacOSX10.*" | grep -v "Patch")
|
||||||
|
|
||||||
if [ -z "$SDKS" ]; then
|
if [ -z "$SDKS" ]; then
|
||||||
echo "No SDK found in" $(pwd) 1>&2
|
echo "No SDK found" 1>&2
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user