summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rwxr-xr-xtests/travis/setup.sh6
1 files changed, 4 insertions, 2 deletions
diff --git a/tests/travis/setup.sh b/tests/travis/setup.sh
index 799b0ff..d91769f 100755
--- a/tests/travis/setup.sh
+++ b/tests/travis/setup.sh
@@ -105,8 +105,10 @@ if test -n "$USECURL"; then
fi
if test -n "$USESSL"; then
- if test "$USESSL" != none && ! echo "$USECURL" |grep -q "$USESSL"; then
- curldirname=curl-"$USECURL"-"$USESSL"$curl_suffix
+ if test "$USESSL" != none; then
+ if ! echo "$USECURL" |grep -q "$USESSL"; then
+ curldirname=curl-"$USECURL"-"$USESSL"$curl_suffix
+ fi
else
curldirname=curl-"$USECURL"-none$curl_suffix
fi