Subject: Re: building 1.6 on -current: pax-as-tar problem?
To: None <email@example.com>
From: Christos Zoulas <firstname.lastname@example.org>
Date: 01/14/2003 22:00:41
In article <Pine.NEB.email@example.com>,
Andreas Wrede <firstname.lastname@example.org> wrote:
>On Tue, 14 Jan 2003, Greg A. Woods wrote:
>> [ On Tuesday, January 14, 2003 at 09:10:41 (-0500), Andreas Wrede wrote: ]
>> > Subject: building 1.6 on -current: pax-as-tar problem?
>> > cd: can't cd to
>> I don't know about that part....
>> > tar: Sorry, unable to determine archive format.
>> But for this I bet the second tar's option flags need a leading '-':
>> tar -xpBf -
>No such luck:
>(cd `pwd`/include ; tar -cf - .; exit 0) | (cd
>-xpBf - )
>cd: can't cd to /m5/netbsd-1.6/obj.i386/tools/toolchain.i386/build/gcc/include
>tar: Sorry, unable to determine archive format.
Whoever writes scripts like this deserves what she/he gets; you never use
`;' between commands that can fail; you should be using `&&'
cd /; cd notexists; rm -fr .