threads / discuss / 2399

fix t5000-tar-tree.sh when $TAR isn't set

Subject: fix t5000-tar-tree.sh when $TAR isn't set

## tl;dr

4 messages between Nov 8, 2005 and Nov 8, 2005.

replies: 3people: 3as markdown or json

Alex Riesen· Nov 8, 2005, 10:45 UTC · lore
$TAR isn't set everywhere. Provide a default (tar)
Signed-off-by: Alex Riesen <raa.lkml@gmail.com>
---
 t/t5000-tar-tree.sh |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
Johannes Schindelin· Nov 8, 2005, 11:51 UTC · re: Alex Riesen · lore

Re: fix t5000-tar-tree.sh when $TAR isn't set

Hi,
On Tue, 8 Nov 2005, Alex Riesen wrote:
> $TAR isn't set everywhere. Provide a default (tar)

You run "sh t5000*" in t/, right? Usually, TAR is set in t/Makefile (that is why it Just Works in the normal case). Note that you can -- instead of your patch -- run "TAR=tar sh t5000*".

Ciao, Dscho

Alex Riesen· Nov 8, 2005, 15:08 UTC · re: Johannes Schindelin · lore

Re: fix t5000-tar-tree.sh when $TAR isn't set

On 11/8/05, Johannes Schindelin <Johannes.Schindelin@gmx.de> wrote:
Show 5 quoted lines
> > $TAR isn't set everywhere. Provide a default (tar)
>
> You run "sh t5000*" in t/, right? Usually, TAR is set in t/Makefile (that
> is why it Just Works in the normal case). Note that you can -- instead of
> your patch -- run "TAR=tar sh t5000*".

Oh, I see... I did "make -C t" to avoid recompilation tests (this is unbearably slow on the system Not To Be Named). Maybe put such variables in the separate makefile and include it?

Junio C Hamano· Nov 8, 2005, 19:29 UTC · re: Johannes Schindelin · lore

Re: fix t5000-tar-tree.sh when $TAR isn't set

Johannes Schindelin <Johannes.Schindelin@gmx.de> writes:
> You run "sh t5000*" in t/, right? Usually, TAR is set in t/Makefile (that 
> is why it Just Works in the normal case). Note that you can -- instead of 
> your patch -- run "TAR=tar sh t5000*".
Yes, but "cd t && sh ./t5000-*.sh" should work by itself.

← back to recent threads