[lsb-bugs] [Bug 1818] New: qmake/uic/moc don't handle LSB_MODULES correctly

bugzilla-daemon at linux-foundation.org bugzilla-daemon at linux-foundation.org
Tue Dec 4 13:29:33 PST 2007


http://bugs.linuxbase.org/show_bug.cgi?id=1818

           Summary: qmake/uic/moc don't handle LSB_MODULES correctly
           Product: Development Environment
           Version: 3.2
          Platform: Other
        OS/Version: All
            Status: NEW
          Severity: enhancement
          Priority: P2
         Component: lsb-build-qt
        AssignedTo: heffler at us.ibm.com
        ReportedBy: licquia at freestandards.org
         QAContact: lsb-bugs at freestandards.org


>From bug 1783:

* all three of the scripts make the assumption that LSB_MODULES will only take
a single value, but in fact it can take an arbitrarily long comma-separated
list

We don't know if the solution will continue to use LSB_MODULES, but code like
this can be used to process the value in the face of the possibility of
multiple values:

IFS=','
for MOD in $LSB_MODULES; do
    PRODUCT=`echo "$MOD" | tr '[:lower:]' '[:upper:]'`
    if [ "$PRODUCT" = "TOOLKIT_QT" ]; then
... whatever...
    fi
done
IFS=


-- 
Configure bugmail: http://bugs.linuxbase.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.


More information about the lsb-bugs mailing list