summaryrefslogtreecommitdiff
path: root/build_openssl.sh
diff options
context:
space:
mode:
authorJoseph Hunkeler <jhunkeler@gmail.com>2018-08-13 16:48:13 -0400
committerJoseph Hunkeler <jhunkeler@gmail.com>2018-08-13 16:48:13 -0400
commit2b98e4d7a828b4b8100078190bfa83253719b641 (patch)
tree9ae25abc112925277e9dac58baa09194d2692851 /build_openssl.sh
parent52ccb17484ea0f989b229350241bd75e52ce01a3 (diff)
downloaddocker-buildsys-vanilla-2b98e4d7a828b4b8100078190bfa83253719b641.tar.gz
Clean up deletions
Diffstat (limited to 'build_openssl.sh')
-rwxr-xr-xbuild_openssl.sh7
1 files changed, 4 insertions, 3 deletions
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."
}