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

_______________________________________________
Gnu-arch-users mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/gnu-arch-users

GNU arch home page:
http://savannah.gnu.org/projects/gnu-arch/

Reply via email to