diff options
author | Paul Kehrer <paul.l.kehrer@gmail.com> | 2016-01-03 11:00:53 -0600 |
---|---|---|
committer | Paul Kehrer <paul.l.kehrer@gmail.com> | 2016-01-03 11:00:53 -0600 |
commit | 1e953ee8b4068dc25025082ab0f5bb13380727b1 (patch) | |
tree | dfdd930ccd00cffc149cb5ef2bf038f3e1f5cd52 /.travis/install.sh | |
parent | f3184d202190a5e6e1bcc7b6e2bddf29130be735 (diff) | |
download | cryptography-1e953ee8b4068dc25025082ab0f5bb13380727b1.tar.gz cryptography-1e953ee8b4068dc25025082ab0f5bb13380727b1.tar.bz2 cryptography-1e953ee8b4068dc25025082ab0f5bb13380727b1.zip |
use -n instead of ! -z
Diffstat (limited to '.travis/install.sh')
-rwxr-xr-x | .travis/install.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/.travis/install.sh b/.travis/install.sh index f04c2ff3..a4f99be4 100755 --- a/.travis/install.sh +++ b/.travis/install.sh @@ -69,7 +69,7 @@ else OPENSSL_DIR="ossl-098l" fi # download, compile, and install if it's not already present via travis cache - if [ ! -z "$OPENSSL_DIR" ]; then + if [ -n "$OPENSSL_DIR" ]; then if [[ ! -f "$HOME/$OPENSSL_DIR/bin/openssl" ]]; then curl -O https://www.openssl.org/source/openssl-$OPENSSL_VERSION_NUMBER.tar.gz tar zxf openssl-$OPENSSL_VERSION_NUMBER.tar.gz |