summaryrefslogtreecommitdiff
path: root/t/t5560-http-backend-noserver.sh
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2014-07-22 17:22:57 (GMT)
committerJunio C Hamano <gitster@pobox.com>2014-07-22 17:22:57 (GMT)
commit63618af24a67e5fc959217201d9f220383a39fd0 (patch)
treea6b75c4ebc22e529a11ff462afecfac20ecf713f /t/t5560-http-backend-noserver.sh
parentbba6acb335e296ed692b4aea224b50fd098f693c (diff)
parentc1cebcf4314a8f18ec06e6d10ce39f49a59076ec (diff)
downloadgit-63618af24a67e5fc959217201d9f220383a39fd0.zip
git-63618af24a67e5fc959217201d9f220383a39fd0.tar.gz
git-63618af24a67e5fc959217201d9f220383a39fd0.tar.bz2
Merge branch 'ep/shell-assign-and-export-vars' into maint
* 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-xt/t5560-http-backend-noserver.sh6
1 files changed, 5 insertions, 1 deletions
diff --git a/t/t5560-http-backend-noserver.sh b/t/t5560-http-backend-noserver.sh
index 5abd11a..aa73eea 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" |