aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xcontrib/gitian-build.sh7
1 files changed, 7 insertions, 0 deletions
diff --git a/contrib/gitian-build.sh b/contrib/gitian-build.sh
index b51a91fdc0..7baaabee6d 100755
--- a/contrib/gitian-build.sh
+++ b/contrib/gitian-build.sh
@@ -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