summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorOleg Pudeyev <oleg@bsdpower.com>2018-05-16 23:14:52 -0400
committerOleg Pudeyev <oleg@bsdpower.com>2018-05-16 23:14:52 -0400
commita723bcabf2a1c8449ef1494dcb9bc1f6e550c377 (patch)
treefc02aa918b78d4913f3dbb4f4848ca48cafae4ca /tests
parentcf98577c6f14c13f04d7d9b9583860d8b07d6fc5 (diff)
downloadpycurl-a723bcabf2a1c8449ef1494dcb9bc1f6e550c377.tar.gz
And drop negation
Diffstat (limited to 'tests')
-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