How can I use entries inside rpmmacros file in postinstall process?

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

 



All,

How can I use the entries in the .rpmmacros file in %post postinstall process? 
For example, I have defined "%_topdir /home/test" in the ~/.rpmmacros file. I 
can do "echo TEST: %{_topdir}" but i cannot do "VALUE=%{_topdir}" then "echo 
TEST: $VALUE"? 

Am i missing something? 

Thanks

B.




_______________________________________________
Rpm-list mailing list
Rpm-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/rpm-list

[Index of Archives]     [RPM Ecosystem]     [Linux Kernel]     [Red Hat Install]     [PAM]     [Red Hat Watch]     [Red Hat Development]     [Red Hat]     [Gimp]     [Yosemite News]     [IETF Discussion]

  Powered by Linux