nALFS Patch for conditional execution

Jean Charles Passard Jean-Charles.Passard at provectio.org
Wed Apr 4 11:25:28 PDT 2007


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

-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: nALFS-SVN_conditional_parameters-2.patch
URL: <http://lists.linuxfromscratch.org/pipermail/alfs-discuss/attachments/20070404/73afac06/attachment.ksh>


More information about the alfs-discuss mailing list