improvement to install.sh, was: topdir
Richard Siddall
richard.siddall at elirion.net
Fri Aug 3 18:10:08 IST 2007
Jos Vos wrote:
> On Fri, Aug 03, 2007 at 11:46:26AM -0500, Steven Osborn wrote:
>
>> I'm running rpmbuild from a script, is there anyway to tell rpmbuild to
>> use an rpmmacro file I specify? I see how to specify my own spec file,
>> but that's not exactly doing the trick.
>
> A trick you can use is set $HOME to some temp dir, in which you
> generate dynamically the .rpmmacros you wish.
>
Julian,
The above e-mail was just posted to the RPM discussion list and contains
a technique MailScanner's install.sh script might use to avoid modifying
the user's .rpmmacros, namely setting $HOME to a temp dir and writing
the install.sh .rpmmacros in there.
If it's generally possible to do this, it might make running the install
script less intrusive.
Regards,
Richard Siddall
More information about the MailScanner
mailing list