diff options
author | Junio C Hamano <gitster@pobox.com> | 2016-07-28 14:20:13 -0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2016-07-28 14:20:13 -0700 |
commit | 2a96d39824464c28f2f45f2f4a4d53d7c390c9eb (patch) | |
tree | 9eab22d06488b3572d7a45eadfbdaddd71f3b356 /t/t9100-git-svn-basic.sh | |
parent | 0f3d855efc2f8104bb3e168dd3f74bc84e0d2d45 (diff) | |
download | git-2a96d39824464c28f2f45f2f4a4d53d7c390c9eb.tar.gz git-2a96d39824464c28f2f45f2f4a4d53d7c390c9eb.tar.xz |
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-x | t/t9100-git-svn-basic.sh | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/t/t9100-git-svn-basic.sh b/t/t9100-git-svn-basic.sh index ab6593b91..d29f60108 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 ) |