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>
Junio C Hamano committed
Jul 28, 2016 at 14:20 UTC
2a96d39824464c28f2f45f2f4a4d53d7c390c9eb
1 file changed
+4
-2
t/t9100-git-svn-basic.sh
+4
-2
@@ -24,7 +24,8 @@ ceiling=$PWD
24
25
test_expect_success 'git svn --version works anywhere' '
26
mkdir -p "$deepdir" && (
27
- export GIT_CEILING_DIRECTORIES="$ceiling" &&
27
+ GIT_CEILING_DIRECTORIES="$ceiling" &&
28
+ export GIT_CEILING_DIRECTORIES &&
29
cd "$deepdir" &&
30
git svn --version
31
)
@@ -32,7 +33,8 @@ test_expect_success 'git svn --version works anywhere' '
33
34
test_expect_success 'git svn help works anywhere' '
35
mkdir -p "$deepdir" && (
35
- export GIT_CEILING_DIRECTORIES="$ceiling" &&
36
+ GIT_CEILING_DIRECTORIES="$ceiling" &&
37
+ export GIT_CEILING_DIRECTORIES &&
38
cd "$deepdir" &&
39
git svn help
40
)