tests: propagate $(TAR) down from the toplevel Makefile
authorJunio C Hamano <gitster@pobox.com>
Fri, 25 Jul 2008 18:09:48 +0000 (11:09 -0700)
committerJunio C Hamano <gitster@pobox.com>
Fri, 25 Jul 2008 18:09:48 +0000 (11:09 -0700)
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Makefile
t/t5000-tar-tree.sh

index b003e3e..1d14209 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -1212,6 +1212,7 @@ GIT-CFLAGS: .FORCE-GIT-CFLAGS
 
 GIT-BUILD-OPTIONS: .FORCE-GIT-BUILD-OPTIONS
        @echo SHELL_PATH=\''$(SHELL_PATH_SQ)'\' >$@
+       @echo TAR=\''$(subst ','\'',$(TAR))'\' >>$@
 
 ### Detect Tck/Tk interpreter path changes
 ifndef NO_TCLTK
index 9b0baac..5eb119e 100755 (executable)
@@ -25,7 +25,6 @@ commit id embedding:
 '
 
 . ./test-lib.sh
-TAR=${TAR:-tar}
 UNZIP=${UNZIP:-unzip}
 
 SUBSTFORMAT=%H%n