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

Re: topdir, builddir prefix and buildroot



Peter Bowen wrote:

> On Thu, 2002-01-24 at 06:30, Paul Gear wrote:
> > Now i have a question about topdir, sourcedir, and builddir - is there
> > a way to get RPM to read all its config files and tell you what their
> > current values are?  I would like to use them in a script without
> > having to hard-code their values for my environment.
>
> rpm --eval '%{_topdir}'

Beautiful.  The --showrc was good, but that is exactly what i was looking
for.

Thanks,
Paul
http://paulgear.webhop.net






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