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