summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2016-07-28 14:20:13 -0700
committerJunio C Hamano <gitster@pobox.com>2016-07-28 14:20:13 -0700
commit2a96d39824464c28f2f45f2f4a4d53d7c390c9eb (patch)
tree9eab22d06488b3572d7a45eadfbdaddd71f3b356
parent0f3d855efc2f8104bb3e168dd3f74bc84e0d2d45 (diff)
downloadgit-2a96d39824464c28f2f45f2f4a4d53d7c390c9eb.tar.gz
t9100: portability fix
Do not say "export VAR=VAL"; "VAR=VAL && export VAR" is always more portable. Signed-off-by: Junio C Hamano <gitster@pobox.com>
-rwxr-xr-xt/t9100-git-svn-basic.sh6
1 files changed, 4 insertions, 2 deletions
diff --git a/t/t9100-git-svn-basic.sh b/t/t9100-git-svn-basic.sh
index ab6593b910..d29f60108a 100755
--- a/t/t9100-git-svn-basic.sh
+++ b/t/t9100-git-svn-basic.sh
@@ -24,7 +24,8 @@ ceiling=$PWD
test_expect_success 'git svn --version works anywhere' '
mkdir -p "$deepdir" && (
- export GIT_CEILING_DIRECTORIES="$ceiling" &&
+ GIT_CEILING_DIRECTORIES="$ceiling" &&
+ export GIT_CEILING_DIRECTORIES &&
cd "$deepdir" &&
git svn --version
)
@@ -32,7 +33,8 @@ test_expect_success 'git svn --version works anywhere' '
test_expect_success 'git svn help works anywhere' '
mkdir -p "$deepdir" && (
- export GIT_CEILING_DIRECTORIES="$ceiling" &&
+ GIT_CEILING_DIRECTORIES="$ceiling" &&
+ export GIT_CEILING_DIRECTORIES &&
cd "$deepdir" &&
git svn help
)