diff options
author | Junio C Hamano <gitster@pobox.com> | 2014-06-06 11:38:51 -0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2014-06-06 11:38:51 -0700 |
commit | 3ea8ecc21ec87eb5173a7145db2d3653e5b5fa28 (patch) | |
tree | a36ec1bb47acf4cc7d94347a59cb947bebf62408 /t/t5560-http-backend-noserver.sh | |
parent | ed47bbd1d05ce7f78a52639e1b1fb522b975b066 (diff) | |
parent | c1cebcf4314a8f18ec06e6d10ce39f49a59076ec (diff) | |
download | git-3ea8ecc21ec87eb5173a7145db2d3653e5b5fa28.tar.gz |
Merge branch 'ep/shell-assign-and-export-vars'
* ep/shell-assign-and-export-vars:
scripts: more "export VAR=VALUE" fixes
scripts: "export VAR=VALUE" construct is not portable
Diffstat (limited to 't/t5560-http-backend-noserver.sh')
-rwxr-xr-x | t/t5560-http-backend-noserver.sh | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/t/t5560-http-backend-noserver.sh b/t/t5560-http-backend-noserver.sh index 5abd11a563..aa73eeaef8 100755 --- a/t/t5560-http-backend-noserver.sh +++ b/t/t5560-http-backend-noserver.sh @@ -5,7 +5,11 @@ test_description='test git-http-backend-noserver' HTTPD_DOCUMENT_ROOT_PATH="$TRASH_DIRECTORY" -test_have_prereq GREP_STRIPS_CR && export GREP_OPTIONS=-U +if test_have_prereq GREP_STRIPS_CR +then + GREP_OPTIONS=-U + export GREP_OPTIONS +fi run_backend() { echo "$2" | |