mingw-cross-env-list
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Mingw-cross-env-list] New features: automatic "du", automatic log c


From: Tony Theodore
Subject: Re: [Mingw-cross-env-list] New features: automatic "du", automatic log compression
Date: Mon, 12 Sep 2011 19:53:40 +1000

Hi Volker,

Apologies for the delayed reply.

On 4 September 2011 20:59, Volker Grabsch <address@hidden> wrote:
> Tony Theodore schrieb:
>> On 4 September 2011 08:04, Volker Grabsch <address@hidden> wrote:
>> > Dear mingw-cross-env people,
>> >
>> > I just added a new feature to mingw-cross-env so that "du"
>> > is called immediately after each successful build of a
>> > package. It should also work on BSD systems.
>>
>> Works on DragonFly, FreeBSD, and OSX; though none of these recognise
>> the --max-depth option. Should the order of statements be reversed?
>
> The order shouldn't matter at all. If the first one fails,
> the second one is taken. In case this is not clear from
> the Makefile, the basic structure of this command is as
> follows:
>
>    (du -d 0 ... 2>/dev/null || du --max-depth 0 ...) | $(SED) ...
>
> Is there any problem with this construction?

No, just me nano-optimising and thinking the common case should go
first - please ignore :)

Cheers,

Tony



reply via email to

[Prev in Thread] Current Thread [Next in Thread]