Andrew's git
/
gitweb.git
/ diff
summary
|
log
|
commit
| diff |
tree
commit
grep
author
committer
pickaxe
?
re
t9100: portability fix
author
Junio C Hamano
<gitster@pobox.com>
Thu, 28 Jul 2016 21:20:13 +0000
(14:20 -0700)
committer
Junio C Hamano
<gitster@pobox.com>
Thu, 28 Jul 2016 21:20:13 +0000
(14:20 -0700)
Do not say "export VAR=VAL"; "VAR=VAL && export VAR" is always more
portable.
Signed-off-by: Junio C Hamano <gitster@pobox.com>
t/t9100-git-svn-basic.sh
patch
|
blob
|
history
raw
|
patch
|
inline
| side by side (parent:
0f3d855
)
diff --git
a/t/t9100-git-svn-basic.sh
b/t/t9100-git-svn-basic.sh
index ab6593b910f171cd5b9b1f8cb3243c965e606e30..d29f60108a4235feae1068a6ea1a89cc7bee5b4b 100755
(executable)
--- 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" && (
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
)
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" && (
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
)
cd "$deepdir" &&
git svn help
)