[Top][All Lists]
[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: |
Volker Grabsch |
Subject: |
Re: [Mingw-cross-env-list] New features: automatic "du", automatic log compression |
Date: |
Sun, 4 Sep 2011 12:59:42 +0200 |
User-agent: |
Mutt/1.5.21 (2010-09-15) |
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?
Greets,
Volker
--
Volker Grabsch
---<<(())>>---