Skip to content

Commit 93cd8d9

Browse files
tboegigitster
authored andcommitted
test-hg-bidi.sh: do not use export X=Y
The shell syntax "export X=Y A=B" is not understood by all shells. Signed-off-by: Torsten Bögershausen <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent d87ec81 commit 93cd8d9

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

contrib/remote-helpers/test-hg-bidi.sh

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -65,10 +65,10 @@ setup () {
6565
) >> "$HOME"/.hgrc &&
6666
git config --global remote-hg.hg-git-compat true
6767

68-
export HGEDITOR=/usr/bin/true
69-
70-
export GIT_AUTHOR_DATE="2007-01-01 00:00:00 +0230"
71-
export GIT_COMMITTER_DATE="$GIT_AUTHOR_DATE"
68+
HGEDITOR=/usr/bin/true
69+
GIT_AUTHOR_DATE="2007-01-01 00:00:00 +0230"
70+
GIT_COMMITTER_DATE="$GIT_AUTHOR_DATE"
71+
export HGEDITOR GIT_AUTHOR_DATE GIT_COMMITTER_DATE
7272
}
7373

7474
setup
@@ -85,7 +85,8 @@ test_expect_success 'encoding' '
8585
git add alpha &&
8686
git commit -m "add älphà" &&
8787
88-
export GIT_AUTHOR_NAME="tést èncödîng" &&
88+
GIT_AUTHOR_NAME="tést èncödîng" &&
89+
export GIT_AUTHOR_NAME &&
8990
echo beta > beta &&
9091
git add beta &&
9192
git commit -m "add beta" &&

0 commit comments

Comments
 (0)