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

Re: overriding ~/.rpmmacros from commandline?



Jim Knoble wrote:
> 
> Circa 2001-Mar-26 12:57:09 -0600 dixit Eli Carter:
> 
>: > Or, try
>: >         --define '_topdir whatever'
>: > that'll work as well.
>:
>: It appears that if the rc files set a _topdir, that overrides the
>: --define value.
>:
>: Am I missing something?
> 
> If you have rpm >= 4.0, you may need to do this:
> 
>   rpm --define='_topdir whatever' ...
>             /^^^
>            /
> 
> Note the equal sign here.

$ rpm --version
RPM version 3.0
$ rpm -q rpm
rpm-3.0-6.0

Also, it _does_ appear to be set if you don't have it set in the rpmrc
files...  
I'll play with it a bit...

Eli 
-----------------------.           Rule of Accuracy: When working toward
Eli Carter             |            the solution of a problem, it always 
eli.carter(at)inet.com `------------------ helps if you know the answer.





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