fix t5000-tar-tree.sh when $TAR isn't set
authorAlex Riesen <raa.lkml@gmail.com>
Tue, 8 Nov 2005 10:45:15 +0000 (11:45 +0100)
committerJunio C Hamano <junkio@cox.net>
Tue, 8 Nov 2005 19:26:03 +0000 (11:26 -0800)
$TAR isn't set everywhere. Provide a default (tar)

Signed-off-by: Alex Riesen <raa.lkml@gmail.com>
Signed-off-by: Junio C Hamano <junkio@cox.net>
t/t5000-tar-tree.sh

index 4db1bb11425797b5b105fcb7b92f443616d58355..adc5e937de1a4b28b9556ca00fdfbc95dead70d7 100755 (executable)
@@ -25,6 +25,7 @@ commit id embedding:
 '
 
 . ./test-lib.sh
+TAR=${TAR:-tar}
 
 test_expect_success \
     'populate workdir' \