gnu-arch-users
[Top][All Lists]
Advanced

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

Re: [GNU-arch-dev] Re: [Gnu-arch-users] new documentation progress


From: Robert Collins
Subject: Re: [GNU-arch-dev] Re: [Gnu-arch-users] new documentation progress
Date: Sun, 03 Apr 2005 19:12:00 +1000

On Wed, 2005-03-30 at 11:46 -0600, John Arbash Meinel wrote:
> John A Meinel wrote:

> One problem with inventory --nested -t, it doesn't detect "."
> I'm not sure if there is a reason for this, but if I am crawling the
> directory to find source directories (so that I can run changes/status
> in them and see what has been effected) I would like it to work if I run
> in a source directory.
> 
> Is there a simple workaround?
> This isn't very clean:
> 
> if [ `tla escape --unescaped $(tla tree-root)` eq `pwd` ]; then
>     $cmd `pwd`;
> fi
> for d in `tla inventory --nested -t`; then
>     unescaped=`tla escape --unescaped $d`
>     $cmd $unescaped
> fi
> 
> Is it a bug that inventory -t doesn't catch "."? Or is this a design
> decision?

Its not an explicit decision, and I think its reasonable to consider it
a bug.

Cheers,
Rob

Attachment: signature.asc
Description: This is a digitally signed message part


reply via email to

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