http://bugzilla.wpkg.org/show_bug.cgi?id=255
Summary: Environment variable expansion in extended host attribute matching Product: WPKG Version: other Platform: PC OS/Version: All Status: NEW Severity: trivial Priority: P2 Component: wpkg.js AssignedTo: man...@wpkg.org ReportedBy: r...@ormo.com.au QAContact: wpkg-users@lists.wpkg.org Fairly minor issue I noticed when I decided to define an environment variable for an OS matching regex just to make things easier to remember. ie. REGX_WIN7 = .+6\.1\.\d{4} The environment variable expands fine when it is used as the value of a command check tag: <command type="install" cmd='' > <condition> <check type="host" condition="os" value="%REGX_WIN7%" /> </condition> </command> However it does not expand when used as the value of an OS attribute for a variable or depends tag. Nor does it work on a profile package tag: <package> <depends package-id="Windows XP Support Tools" os="%REGX_WINXP%" /> </package> <profile id="Test"> <package package-id="7-Zip" os=%REGX_WIN7%" /> </profile> Cheers -- Configure bugmail: http://bugzilla.wpkg.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the QA contact for the bug. ------------------------------------------------------------------------- wpkg-users mailing list archives >> http://lists.wpkg.org/pipermail/wpkg-users/ _______________________________________________ wpkg-users mailing list wpkg-users@lists.wpkg.org http://lists.wpkg.org/mailman/listinfo/wpkg-users