1
mirror of https://github.com/m2049r/xmrwallet synced 2025-01-06 22:46:23 +01:00
xmrwallet/external-libs/script/openssl-fetch.sh
2018-10-08 19:02:00 +02:00

17 lines
319 B
Bash
Executable File

#!/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