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:
@ -24,7 +24,8 @@ ceiling=$PWD
|
|||||||
|
|
||||||
test_expect_success 'git svn --version works anywhere' '
|
test_expect_success 'git svn --version works anywhere' '
|
||||||
mkdir -p "$deepdir" && (
|
mkdir -p "$deepdir" && (
|
||||||
export GIT_CEILING_DIRECTORIES="$ceiling" &&
|
GIT_CEILING_DIRECTORIES="$ceiling" &&
|
||||||
|
export GIT_CEILING_DIRECTORIES &&
|
||||||
cd "$deepdir" &&
|
cd "$deepdir" &&
|
||||||
git svn --version
|
git svn --version
|
||||||
)
|
)
|
||||||
@ -32,7 +33,8 @@ test_expect_success 'git svn --version works anywhere' '
|
|||||||
|
|
||||||
test_expect_success 'git svn help works anywhere' '
|
test_expect_success 'git svn help works anywhere' '
|
||||||
mkdir -p "$deepdir" && (
|
mkdir -p "$deepdir" && (
|
||||||
export GIT_CEILING_DIRECTORIES="$ceiling" &&
|
GIT_CEILING_DIRECTORIES="$ceiling" &&
|
||||||
|
export GIT_CEILING_DIRECTORIES &&
|
||||||
cd "$deepdir" &&
|
cd "$deepdir" &&
|
||||||
git svn help
|
git svn help
|
||||||
)
|
)
|
||||||
|
Reference in New Issue
Block a user