List Info

Thread: nALFS Patch for conditional execution




nALFS Patch for conditional execution
country flaguser name
France
2007-04-04 13:25:28
Hello,

I tried to make a little patch for nALFS to permit some
conditionnal 
execution.
That works for me but I can't find why the
RUN_STATUS_SKIPPED is'nt 
print on screen

This patch adds 2 new attributes on <PARAM>,
<PACKAGE> and <STAGE> : 
if_cmd and if_args

For example :

<PARAM if_cmd="test" if_args="-d 
/opt/opensll">--with-ssl=/opt/openssl</PARAM>
would execute the command test -d /opt/openssl and if it
return 0 then 
this PARAM will be added


JC Passard


-- 
http://linuxfromscratch.org/mailman/listinfo/alfs-discu
ss
FAQ: http://www.linux
fromscratch.org/faq/
Unsubscribe: See the above information page

  
[1]

about | contact  Other archives ( Real Estate discussion Medical topics )