summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorOleg Pudeyev <oleg@bsdpower.com>2018-05-16 23:12:11 -0400
committerOleg Pudeyev <oleg@bsdpower.com>2018-05-16 23:12:11 -0400
commit383296e137f8d83b06ceb1d3785a5a1a6faeb2ec (patch)
tree0914eed465fff2993a4688303b5c41c00ad9d6c0 /tests
parentc08ab2e7b10986d603c0b986d3fb06d24a08e37a (diff)
downloadpycurl-383296e137f8d83b06ceb1d3785a5a1a6faeb2ec.tar.gz
Repair none ssl backend path
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