Hello, all!
I'm writing a spec and am somehow stuck.
I'd like to set the value of a %define to a value I set in a shell var.
So, I'd like to do:
var="some great text"
%define def $var
However, when I do this, %def ends up being empty.
But, what I'd actually like to do, is to append the value to itself
inside a loop. Just like:
for i in 1 2 3; do
var="$var $i"
done
If I translate this directly into defines, I get a recursion error
(Recursion depth(17) greater than max(16)). I did:
for i in 1 2 3; do
%define def %def $i
done
Could somebody please try to help me?
Alexander Skwar
--
How to quote: http://learn.to/quote (german) http://quote.6x.to (english)
Homepage: http://www.iso-top.de | Jabber: [EMAIL PROTECTED]
iso-top.de - Die g�nstige Art an Linux Distributionen zu kommen
Uptime: 3 days 10 hours 21 minutes