[wpkg-users] [Bug 235] New: variables inside variables defined in the same package are not substituted
bugzilla-daemon at bugzilla.wpkg.org
bugzilla-daemon at bugzilla.wpkg.org
Mon Sep 19 06:30:20 CEST 2011
http://bugzilla.wpkg.org/show_bug.cgi?id=235
Summary: variables inside variables defined in the same package
are not substituted
Product: WPKG
Version: other
Platform: PC
OS/Version: All
Status: NEW
Severity: normal
Priority: P2
Component: wpkg.js
AssignedTo: mangoo at wpkg.org
ReportedBy: peterhoeg at gmail.com
QAContact: wpkg-users at lists.wpkg.org
If a variable is referencing another variable defined in the same package, the
referenced variable will not be expanded.
Let's say the following variables are defined
<variable name="version" value="2.0.0.147" />
<variable name="fileversion" value="2.00b147-Beta" />
<variable name="PKG_SOURCE"
value="%SOFTWARE%\Console2\Console-%fileversion%_32bit.zip" architecture="x86"
/>
<variable name="PKG_SOURCE"
value="%SOFTWARE%\Console2\Console-%fileversion%_64bit.zip" architecture="x64"
/>
The %SOFTWARE% part is being expanded properly inside PKG_SOURCE, but
%fileversion% is not so wpkg obviously fails when trying to run the install
command
--
Configure bugmail: http://bugzilla.wpkg.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
More information about the wpkg-users
mailing list