Changeset 2342ac3


Ignore:
Timestamp:
08/11/21 19:13:11 (9 months ago)
Author:
gregor herrmann <gregor@…>
Branches:
master
Children:
ef9a71b
Parents:
caaa2ad
git-author:
François Revol <revol@…> (08/10/21 18:35:23)
git-committer:
gregor herrmann <gregor@…> (08/11/21 19:13:11)
Message:

Fallback to uname -o for systems without /etc/issue

This includes Haiku.

Not necessary to build but it removes an error message.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/global.pri

    rcaaa2ad r2342ac3  
    1010# Define 'MAEMO' specific CONFIG/DEFINE
    1111# To handle 'MAEMO' specific soruces/code
    12 DISTRO = $$system(cat /etc/issue)
     12DISTRO = $$system(cat /etc/issue 2>/dev/null || uname -o)
    1313contains( DISTRO, [Mm]aemo ) {
    1414    # for 'MAEMO' specific source code parts
Note: See TracChangeset for help on using the changeset viewer.