diff options
author | Steven Drake <sdrake@xnet.co.nz> | 2010-02-26 05:00:21 +0100 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2010-02-26 07:47:48 +0100 |
commit | a94d305bf8043a7a0579037c7e52e632613410f7 (patch) | |
tree | fe5fb24e4e0685344f834cbaf3c7bbc2a008ccd1 /wrap-for-bin.sh | |
parent | init: having keywords without value is not a global error. (diff) | |
download | git-a94d305bf8043a7a0579037c7e52e632613410f7.tar.xz git-a94d305bf8043a7a0579037c7e52e632613410f7.zip |
t/t0001-init.sh: add test for 'init with init.templatedir set'
Requires a small change to wrap-for-bin.sh in order to work.
Signed-off-by: Steven Drake <sdrake@xnet.co.nz>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'wrap-for-bin.sh')
-rw-r--r-- | wrap-for-bin.sh | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/wrap-for-bin.sh b/wrap-for-bin.sh index c5075c9c61..aece782a85 100644 --- a/wrap-for-bin.sh +++ b/wrap-for-bin.sh @@ -7,7 +7,8 @@ # @@BUILD_DIR@@ and @@PROG@@. GIT_EXEC_PATH='@@BUILD_DIR@@' -GIT_TEMPLATE_DIR='@@BUILD_DIR@@/templates/blt' +test -z "$NO_SET_GIT_TEMPLATE_DIR" && + GIT_TEMPLATE_DIR='@@BUILD_DIR@@/templates/blt' GITPERLLIB='@@BUILD_DIR@@/perl/blib/lib' PATH='@@BUILD_DIR@@/bin-wrappers:'"$PATH" export GIT_EXEC_PATH GIT_TEMPLATE_DIR GITPERLLIB PATH |