summaryrefslogtreecommitdiff
path: root/t/t9100-git-svn-basic.sh
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2016-07-28 21:20:13 (GMT)
committerJunio C Hamano <gitster@pobox.com>2016-07-28 21:20:13 (GMT)
commit2a96d39824464c28f2f45f2f4a4d53d7c390c9eb (patch)
tree9eab22d06488b3572d7a45eadfbdaddd71f3b356 /t/t9100-git-svn-basic.sh
parent0f3d855efc2f8104bb3e168dd3f74bc84e0d2d45 (diff)
downloadgit-2a96d39824464c28f2f45f2f4a4d53d7c390c9eb.zip
git-2a96d39824464c28f2f45f2f4a4d53d7c390c9eb.tar.gz
git-2a96d39824464c28f2f45f2f4a4d53d7c390c9eb.tar.bz2
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>
Diffstat (limited to 't/t9100-git-svn-basic.sh')
-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 ab6593b..d29f601 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
)