Check for OSX SDK

This commit is contained in:
Andrew Chow 2016-08-25 15:42:39 -04:00
parent eda4cfb992
commit 498d8dadbf

View File

@ -166,6 +166,13 @@ then
sudo ifconfig lxcbr0 up 10.0.2.2
fi
# Check for OSX SDK
if [[ ! -e "gitian-builder/inputs/MacOSX10.11.sdk.tar.gz" && $osx == true ]]
then
echo "Cannot build for OSX, SDK does not exist. Will build for other OSes"
osx=false
fi
# Get signer
if [[ -n"$1" ]]
then