Skip to content

Commit

Permalink
Run ssl-check in sub-shell to avoid bombing out from set -ex
Browse files Browse the repository at this point in the history
  • Loading branch information
jelford committed Apr 14, 2017
1 parent e1b9ebc commit 3b7ada1
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions ci/build-run-docker.sh
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,7 @@ docker run \

# check that rustup-init was built with ssl support
# see https://github.com/rust-lang-nursery/rustup.rs/issues/1051
out=$(nm target/$TARGET/release/rustup-init | grep Curl_ssl_init)

if [ -z "$out" ]; then
echo "error: Missing ssl support!!!!" >&2
if ! (nm target/$TARGET/release/rustup-init | grep Curl_ssl_version &> /dev/null); then
echo "Missing ssl support!!!!" >&2
exit 1
fi
fi

0 comments on commit 3b7ada1

Please sign in to comment.