Skip to content

Commit 2a96d39

Browse files
committed
t9100: portability fix
Do not say "export VAR=VAL"; "VAR=VAL && export VAR" is always more portable. Signed-off-by: Junio C Hamano <[email protected]>
1 parent 0f3d855 commit 2a96d39

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

t/t9100-git-svn-basic.sh

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,15 +24,17 @@ ceiling=$PWD
2424

2525
test_expect_success 'git svn --version works anywhere' '
2626
mkdir -p "$deepdir" && (
27-
export GIT_CEILING_DIRECTORIES="$ceiling" &&
27+
GIT_CEILING_DIRECTORIES="$ceiling" &&
28+
export GIT_CEILING_DIRECTORIES &&
2829
cd "$deepdir" &&
2930
git svn --version
3031
)
3132
'
3233

3334
test_expect_success 'git svn help works anywhere' '
3435
mkdir -p "$deepdir" && (
35-
export GIT_CEILING_DIRECTORIES="$ceiling" &&
36+
GIT_CEILING_DIRECTORIES="$ceiling" &&
37+
export GIT_CEILING_DIRECTORIES &&
3638
cd "$deepdir" &&
3739
git svn help
3840
)

0 commit comments

Comments
 (0)