[augeas-devel] [PATCH] Put the default dir for lenses into DATADIR

Dominique Dumont dominique.dumont at hp.com
Mon Jul 7 12:13:27 UTC 2008


David Lutterkort <dlutter at redhat.com> writes:

> # HG changeset patch
> # User David Lutterkort <dlutter at redhat.com>
> # Date 1214867736 25200
> # Node ID 14602e2757ddfe11e2b445edddac8be519af771b
> # Parent  e54775f752efbd87d2f3693da2ab788ee3026b51
> Put the default dir for lenses into DATADIR
>
> Instead of hardcoding the default dir for lenses to somewhere in '/usr',
> look in DATADIR - that's after all where the default lenses are installed
> if DATADIR (or PREFIX) is changed.

This may not work as intented.  Here's what I get with "help" command
in augtool (hg version on Debian):

   AUGEAS_LENS_LIB
        colon separated list of directories with lenses,
        defaults to NONE/share/augeas/lenses

The workaround is still the same: use -I option for augtool.

All the best


-- 
Dominique Dumont 
"Delivering successful solutions requires giving people what they
need, not what they want." Kurt Bittner




More information about the augeas-devel mailing list