Re: trying to put "--define 'macro value'" in a variable
Jos Vos <[email protected]> Wed, 2 Apr 2008 00:03:20 +0200
| Newsgroups | gmane.linux.redhat.rpm.general |
|---|---|
| Message-ID | <[email protected]> |
On Tue, Apr 01, 2008 at 05:56:28PM -0400, Brian J. Murrell wrote: > I can't see why putting the "--define 'macro value'" in a shell variable > and substituting it onto the rpmbuild command line is having the ill > effects that it is. > > Anyone got any ideas before I start digging into rpmb and popt any > deeper? Why don't you put macros in ~/.rpmmacros to avoid ugly shell variable escape issues? In my build environments, I usally create a tmpdir with .rpmmacros and set $HOME accordingly (per build, if necessary). -- -- Jos Vos <[email protected]> -- X/OS Experts in Open Systems BV | Phone: +31 20 6938364 -- Amsterdam, The Netherlands | Fax: +31 20 6948204