A rebuild of all binaries is now forced

This commit is contained in:
Richard Larkin 2014-05-08 10:13:16 +02:00
parent a07f830ed7
commit 6f4e0b476d

View file

@ -17,9 +17,7 @@ fi
# Build the required binaries # Build the required binaries
if [ -d $TMPROOT/openssl/ios-openssl ] ; then if [ -d $TMPROOT/openssl/ios-openssl ] ; then
echo "ios-openssl repo found. Looking for binary..." echo "ios-openssl repo found. Building now..."
if [ ! -e $TMPROOT/openssl/ios-openssl/lib/libssl.a ] ; then
echo "Binary not found. Building..."
if [ ! -d $TMPROOT/openssl/ios-openssl/lib ] ; then if [ ! -d $TMPROOT/openssl/ios-openssl/lib ] ; then
try mkdir $TMPROOT/openssl/ios-openssl/lib try mkdir $TMPROOT/openssl/ios-openssl/lib
fi fi
@ -28,14 +26,8 @@ if [ -d $TMPROOT/openssl/ios-openssl ] ; then
# Please refer to the script below for details of the OpenSSL build # Please refer to the script below for details of the OpenSSL build
sh build.sh sh build.sh
try popd try popd
else
echo "Binaries found. Skipping build..."
fi
fi fi
# Copy the binaries to the appropriate places. echo "Copying built OpenSSL binaries..."
if [ $TMPROOT/openssl/ios-openssl/lib/libssl.a ] ; then cp $TMPROOT/openssl/ios-openssl/lib/libssl.a $BUILDROOT/lib/libssl.a
echo "Copying built OpenSSL binaries..." cp $TMPROOT/openssl/ios-openssl/lib/libcrypto.a $BUILDROOT/lib/libcrypto.a
cp $TMPROOT/openssl/ios-openssl/lib/libssl.a $BUILDROOT/lib/libssl.a
cp $TMPROOT/openssl/ios-openssl/lib/libcrypto.a $BUILDROOT/lib/libcrypto.a
fi