Skip to content

Commit

Permalink
chore(docs): just some stdout echo's for readability
Browse files Browse the repository at this point in the history
  • Loading branch information
hutchic committed Dec 8, 2022
1 parent dd64203 commit edb6e6b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ SCRIPT_DIR=$( cd -- "$( dirname -- "${BASH_SOURCE[0]}" )" &> /dev/null && pwd )
export $(grep -v '^#' $SCRIPT_DIR/.env | xargs)

function main() {
echo '--- installing openssl ---'
mkdir -p /tmp/build
with_backoff curl --fail -sSLo openssl.tar.gz "https://www.openssl.org/source/openssl-${OPENSSL_VERSION}.tar.gz"
tar -xzvf openssl.tar.gz
Expand All @@ -22,6 +23,7 @@ function main() {
make -j2 && \
make install_sw DESTDIR=/tmp/build
popd
echo '--- installed openssl ---'
}


Expand Down
2 changes: 2 additions & 0 deletions test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ SCRIPT_DIR=$( cd -- "$( dirname -- "${BASH_SOURCE[0]}" )" &> /dev/null && pwd )
export $(grep -v '^#' $SCRIPT_DIR/.env | xargs)

function test() {
echo '--- testing openssl ---'
cp -R /tmp/build/* /
mv /tmp/build /tmp/buffer # Check we didn't link dependencies to `/tmp/build/...`

Expand All @@ -18,6 +19,7 @@ function test() {
ldd /usr/local/kong/lib/libyaml.so

mv /tmp/buffer /tmp/build
echo '--- tested openssl ---'
}

test

0 comments on commit edb6e6b

Please sign in to comment.