aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorSteven Fackler <[email protected]>2017-07-25 19:29:58 -0700
committerSteven Fackler <[email protected]>2017-07-25 19:29:58 -0700
commit1f2716587aa5c50401878faa3d7caf83931a1150 (patch)
tree4f76e84e3d048190d85e92b28c216a241fd8fc76 /test
parentRemove unused environment variable (diff)
downloadrust-openssl-1f2716587aa5c50401878faa3d7caf83931a1150.tar.xz
rust-openssl-1f2716587aa5c50401878faa3d7caf83931a1150.zip
Only install curl when building openssl
Diffstat (limited to 'test')
-rwxr-xr-xtest/build_openssl.sh3
1 files changed, 3 insertions, 0 deletions
diff --git a/test/build_openssl.sh b/test/build_openssl.sh
index 82d9fc7e..9d4323e1 100755
--- a/test/build_openssl.sh
+++ b/test/build_openssl.sh
@@ -5,6 +5,9 @@ if [ -d ~/openssl ]; then
exit 0
fi
+apt-get update
+apt-get install -y --no-install-recommends curl
+
case "${LIBRARY}" in
"libressl")
URL1="http://ftp3.usa.openbsd.org/pub/OpenBSD/LibreSSL/libressl-${VERSION}.tar.gz"