From: Nguyễn Thái Ngọc Duy Date: Sat, 25 Dec 2010 13:57:36 GMT Subject: [PATCH 1/2] t1501: avoid bashisms Message-ID: <1293285457-11915-1-git-send-email-pclouds@gmail.com> Signed-off-by: Nguyễn Thái Ngọc Duy --- t/t1501-worktree.sh | 5 ++++- 1 files changed, 4 insertions(+), 1 deletions(-) diff --git a/t/t1501-worktree.sh b/t/t1501-worktree.sh index 2c8f01f..488160e 100755 --- a/t/t1501-worktree.sh +++ b/t/t1501-worktree.sh @@ -322,7 +322,10 @@ test_expect_success 'git grep' ' test_expect_success 'git commit' ' ( cd repo.git && - GIT_DIR=. GIT_WORK_TREE=work git commit -a -m done + GIT_DIR=. && + GIT_WORK_TREE=work && + export GIT_DIR GIT_WORK_TREE && + git commit -a -m done ) ' -- 1.7.3.4.878.g439c7