Tweaked build inclusion

This commit is contained in:
Richard Larkin 2014-05-02 09:42:47 +02:00
parent 372a5fe02e
commit b3fb9ec62b

10
tools/build-openssl.sh Normal file → Executable file
View file

@ -6,9 +6,17 @@ if [ ! -d $TMPROOT/openssl ] ; then
mkdir $TMPROOT/openssl
fi
# Check we have a cloned repo
if [ ! -d $TMPROOT/openssl/ios-openssl ] ; then
try pushd $TMPROOT/openssl
try pushd .
cd $TMPROOT/openssl
try git clone -b master https://github.com/zen-code/ios-openssl
try popd
fi
# Build the required binaries
if [ -d $TMPROOT/openssl/ios-openssl ] ; then
try pushd .
cd $TMPROOT/openssl/ios-openssl
build.sh
try popd