Code

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 b003e3e60a1aecae27497d941d211849bedec02b..1d142095a712f1b31ce6c27d730a12f6cb60b24f 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 9b0baac8db4b342206d37ab5eaff0b7a09d33967..5eb119ed0b137f60a2395da3a0531cd8114da3b9 100755 (executable)
@@ -25,7 +25,6 @@ commit id embedding:
 '
 
 . ./test-lib.sh
-TAR=${TAR:-tar}
 UNZIP=${UNZIP:-unzip}
 
 SUBSTFORMAT=%H%n