t5562: avoid non-portable "export FOO=bar" construct
[gitweb.git] / t / t5562-http-backend-content-length.sh
index 057dcb85d66a412126ed32a40687b80b33476168..43570ce12004d4fd95c85276cdac8f52627c73d9 100755 (executable)
@@ -45,7 +45,8 @@ ssize_b100dots() {
 }
 
 test_expect_success 'setup' '
-       export HTTP_CONTENT_ENCODING="identity" &&
+       HTTP_CONTENT_ENCODING="identity" &&
+       export HTTP_CONTENT_ENCODING &&
        git config http.receivepack true &&
        test_commit c0 &&
        test_commit c1 &&