[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Re: topdir, builddir prefix and buildroot
- From: Paul Gear <paulgear bigfoot com>
- To: rpm-list redhat com
- Subject: Re: topdir, builddir prefix and buildroot
- Date: Fri, 25 Jan 2002 05:40:08 +1000
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]
[]