summaryrefslogtreecommitdiff
path: root/wrap-for-bin.sh
Commit message (Collapse)AuthorAgeFilesLines
* wrap-for-bin: do not export an empty GIT_TEMPLATE_DIRJunio C Hamano2010-03-021-2/+7
| | | | | | | | With bash on some platforms (e.g. FreeBSD 8.0), exporting an unset variable does not "unexport" it. The called process gets an empty string from getenv(3) instead of NULL. Signed-off-by: Junio C Hamano <gitster@pobox.com>
* t/t0001-init.sh: add test for 'init with init.templatedir set'Steven Drake2010-02-251-1/+2
| | | | | | | 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>
* build dashless "bin-wrappers" directory similar to installed bindirMatthew Ogilvie2009-12-031-0/+15
The new bin-wrappers directory contains wrapper scripts for executables that will be installed into the standard bindir. It explicitly does not contain most dashed-commands. The scripts automatically set environment variables to run out of the source tree, not the installed directory. This will allow running the test suite without dashed commands in the PATH. It also provides a simplified way to test run custom built git executables without installing them first. bin-wrappers also contains wrappers for some test suite support executables, where the test suite will soon make use of them. Signed-off-by: Matthew Ogilvie <mmogilvi_git@miniinfo.net> Signed-off-by: Junio C Hamano <gitster@pobox.com>