mirror of
https://github.com/git/git
synced 2024-08-27 19:49:21 +00:00
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>
This commit is contained in:
parent
0f3d855efc
commit
2a96d39824
|
@ -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
|
||||
)
|
||||
|
|
Loading…
Reference in a new issue