t/lib-httpd.sh: avoid "test <cond> -a/-o <cond>"
[gitweb.git] / t / lib-httpd.sh
index 252cbf163bcff90aabe39a48219e00565f577ffe..38a47fe20ed510a82e5908e29ccc649f507b7b5c 100644 (file)
@@ -132,7 +132,7 @@ prepare_httpd() {
        HTTPD_URL_USER=$HTTPD_PROTO://user%40host@$HTTPD_DEST
        HTTPD_URL_USER_PASS=$HTTPD_PROTO://user%40host:pass%40host@$HTTPD_DEST
 
-       if test -n "$LIB_HTTPD_DAV" -o -n "$LIB_HTTPD_SVN"
+       if test -n "$LIB_HTTPD_DAV" || test -n "$LIB_HTTPD_SVN"
        then
                HTTPD_PARA="$HTTPD_PARA -DDAV"