So sprach �Vincent Danen� am 2001-12-10 um 16:23:45 -0700 :
> Why do you need to make it a %define?  Can't you just use $var?

Don't think so.  I need to pass values from the %install section to the
%post scriptlet, and a %define is the best I van think of.

> for i in 1 2 3; do
>   var="$var $i"
> done
> %define def $var

After this, %def is empty :(

> I don't know if that would work, but I don't know why you would want
> to do it.  What's the difference between having $RPMOPTIONS and
> %rpmopts?

See above.  I kinda anticipated such a question, so I should have stated
that I want to pass values from %install to %post.  Now, obviously, a
$var set in install is always empty in %post.

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 11 hours 39 minutes

Reply via email to