wowwallet/external-libs/script/openssl-fetch.sh

17 lines
319 B
Bash
Raw Normal View History

2018-09-27 10:24:22 -06:00
#!/usr/bin/env bash
set -e
source script/env.sh
cd $EXTERNAL_LIBS_BUILD_ROOT
if [ ! -f "OpenSSL_1_0_2l.tar.gz" ]; then
wget https://github.com/openssl/openssl/archive/OpenSSL_1_0_2l.tar.gz
fi
if [ ! -d "android-openssl" ]; then
mkdir android-openssl && cd android-openssl
tar xfz ../OpenSSL_1_0_2l.tar.gz
fi