From 2b98e4d7a828b4b8100078190bfa83253719b641 Mon Sep 17 00:00:00 2001 From: Joseph Hunkeler Date: Mon, 13 Aug 2018 16:48:13 -0400 Subject: Clean up deletions --- build_openssl.sh | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'build_openssl.sh') diff --git a/build_openssl.sh b/build_openssl.sh index ab951f2..a0fe405 100755 --- a/build_openssl.sh +++ b/build_openssl.sh @@ -11,7 +11,6 @@ function pre() { curl -LO "${url}" tar xf "${tarball}" - export KERNEL_BITS=64 } @@ -36,9 +35,10 @@ function build() { pre pushd "${dest}" - target="linux-x86_64" + export KERNEL_BITS=64 export PATH="$prefix/bin:$PATH" export LDFLAGS="-Wl,-rpath=$prefix/lib" + target="linux-x86_64" ./Configure \ --prefix="$prefix" \ @@ -60,7 +60,8 @@ function post() { bundle=$(get_system_cacert) install -D -m644 "$bundle" "$prefix/ssl/cert.pem" - find $prefix + rm -rf "${dest}" + rm -rf "${tarball}" echo "All done." } -- cgit