Subject: Re: building 1.6 on -current: pax-as-tar problem?
To: None <firstname.lastname@example.org>
From: Christos Zoulas <email@example.com>
Date: 01/14/2003 22:00:41
In article <Pine.NEB.firstname.lastname@example.org>,
Andreas Wrede <email@example.com> 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 .