The shell syntax "export X=Y A=B" is not understood by all shells.
Signed-off-by: Torsten Bögershausen <tboegi@web.de>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
maint
Torsten Bögershausen12 years agocommitted byJunio C Hamano
@ -55,7 +59,8 @@ test_expect_success 'submodule on detached working pointed by core.worktree' '
@@ -55,7 +59,8 @@ test_expect_success 'submodule on detached working pointed by core.worktree' '
mkdir home3 &&
(
cd home3 &&
export GIT_DIR="$(pwd)/.dotfiles" &&
GIT_DIR="$(pwd)/.dotfiles" &&
export GIT_DIR &&
git clone --bare ../remote "$GIT_DIR" &&
git config core.bare false &&
git config core.worktree .. &&
@ -66,7 +71,8 @@ test_expect_success 'submodule on detached working pointed by core.worktree' '
@@ -66,7 +71,8 @@ test_expect_success 'submodule on detached working pointed by core.worktree' '