[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Patch #41] Do all rm's in one command with --mode=clean
From: |
Robert Boehne |
Subject: |
Re: [Patch #41] Do all rm's in one command with --mode=clean |
Date: |
Tue, 23 Oct 2001 10:46:26 -0500 |
Jeff:
Minor problem, using brackets in tests is not portable.
That's easy enough to fix though:
if test -x /usr/bin/xargs ; then
echo $stuff_to_rm | xargs rm
else
rm_it_all_one_at_a_time
fi
Could you work out the detials and post a proper
patch with ChangeLog against HEAD to libtool-patches?
Consider it pre-approved pending pedantic peer ponderance. ;)
Robert
Jeff Dubrule wrote:
>
> On Mon, Oct 22, 2001 at 04:58:09PM -0400, address@hidden wrote:
> > In cases where there are more object files than can fit in a single
> > command line this method will fail. While it is faster it isn't as
> > robust so I'm inclined to reject it.
>
> OK, would you accept it if it were changed to:
>
> if [ -x /usr/bin/xargs ]; then
> echo $stuff_to_rm | xargs rm
> else
> rm_it_all_one_at_a_time
> fi
>
> -jeff
--
Robert Boehne Software Engineer
Ricardo Software Chicago Technical Center
TEL: (630)789-0003 x. 238
FAX: (630)789-0127
email: address@hidden
- Re: [Patch #41] Do all rm's in one command with --mode=clean, Jeff Dubrule, 2001/10/22
- Re: [Patch #41] Do all rm's in one command with --mode=clean,
Robert Boehne <=
- Re: [Patch #41] Do all rm's in one command with --mode=clean, Jeff Dubrule, 2001/10/23
- Re: [Patch #41] Do all rm's in one command with --mode=clean, Robert Boehne, 2001/10/24
- Re: [Patch #41] Do all rm's in one command with --mode=clean, Jeff Dubrule, 2001/10/24
- Re: [Patch #41] Do all rm's in one command with --mode=clean, Robert Boehne, 2001/10/25
- Re: [Patch #41] Do all rm's in one command with --mode=clean, Olly Betts, 2001/10/26
- Re: [Patch #41] Do all rm's in one command with --mode=clean, Gary V. Vaughan, 2001/10/27
- Re: [Patch #41] Do all rm's in one command with --mode=clean, Robert Boehne, 2001/10/29