[wpkg-users] [Bug 236] New: Strange variables behave

bugzilla-daemon at bugzilla.wpkg.org bugzilla-daemon at bugzilla.wpkg.org
Mon Sep 19 18:51:37 CEST 2011


http://bugzilla.wpkg.org/show_bug.cgi?id=236

           Summary: Strange variables behave
           Product: WPKG
           Version: 1.1.3-RCx
          Platform: PC
        OS/Version: All
            Status: NEW
          Severity: minor
          Priority: P2
         Component: config files
        AssignedTo: mangoo at wpkg.org
        ReportedBy: sash_kr at ukr.net
         QAContact: wpkg-users at lists.wpkg.org


Could not understand variable behavior.

My real example:

<variable name="ext_id"           
value="{e2fda1a4-762b-4020-b5ad-a41df1933103}" />
        <variable name="ext_dirname"    value="lightning" />
        <variable name="instdir"        value="%PROGRAMFILES%\Mozilla
Thunderbird\extensions\%ext_id%" />
        <variable name="instcmd"        value='cmd /C xcopy /Q /I /E /Y
"%SOFTWARE%\thunderbird\exts\%ext_dirname%\%ext_id%" "%instdir%"' />
        <variable name="delcmd"            value='cmd /C if exist "%instdir%"
rmdir /S /Q "%instdir%"' />


My install cmd:
<install cmd='%instcmd%' />

After executing install command I expect to see new folder with name
'{e2fda1a4-762b-4020-b5ad-a41df1933103}' in '%PROGRAMFILES%\Mozilla
Thunderbird\extensions\' folder. Instead I see '%ext_id%' folder. What's wrong?

See full example of package in package.xml and log in log.txt.

-- 
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