[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Re: macro with args question
- From: James Olin Oden <joden lee k12 nc us>
- To: RPM Package Manager <rpm-list redhat com>
- Subject: Re: macro with args question
- Date: Mon, 16 Aug 2004 19:42:48 -0400 (EDT)
On Fri, 13 Aug 2004, Jeff Johnson wrote:
> On Thu, Aug 12, 2004 at 10:32:01AM -0400, James Olin Oden wrote:
> >
> > This works. But then say I want to do:
> >
> > %{revert_script -n %{name}-y}
> >
>
> Try
> %{expand: %%{revert_script -n %{name}-y}
> kinda like eval in shell scripts.
>
Thanks, I'll try that in the morning. It looks like from the
output I was getting that the args of a macro are not recursively
evaluated. I might be missing something though.
> >
> > How might I get this to work? Also, am I perhaps tripping over a bug?
> > Or are my expectations/thinking buggy (-;?
> >
>
> Not a bug, rather an extension, I suspect.
>
When I get the time, for a perhaps quick fix, would evaluating args
be a good thing, or might I cause some severe breakage?
Cheers...james
> 73 de Jeff
>
>
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]