Skip to content

Commit

Permalink
Merge branch 'no-hardcode-path' into 'master'
Browse files Browse the repository at this point in the history
Don't hardcode path for sed commands

See merge request mer-core/sensorfw!42
  • Loading branch information
mlehtima committed Oct 11, 2019
2 parents 67e7bb7 + ef6dc07 commit 32470a7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions sensorfw.pro
Expand Up @@ -81,13 +81,13 @@ contains(CONFIG,hybris) {

equals(QT_MAJOR_VERSION, 4):{
PKGCONFIGFILES.files = sensord.pc
PKGCONFIGFILES.commands = 'sed -i "s/Version:.*/Version: $$PC_VERSION/" sensord.pc'
PKGCONFIGFILES.commands = 'sed -i "s/Version:.*/Version: $$PC_VERSION/" $$_PRO_FILE_PWD_/sensord.pc'
QTCONFIGFILES.path = /usr/share/qt4/mkspecs/features
}

equals(QT_MAJOR_VERSION, 5):{
PKGCONFIGFILES.files = sensord-qt5.pc
PKGCONFIGFILES.commands = 'sed -i "s/Version:.*/Version: $$PC_VERSION/" sensord-qt5.pc'
PKGCONFIGFILES.commands = 'sed -i "s/Version:.*/Version: $$PC_VERSION/" $$_PRO_FILE_PWD_/sensord-qt5.pc'
QTCONFIGFILES.path = /usr/share/qt5/mkspecs/features

}
Expand Down

0 comments on commit 32470a7

Please sign in to comment.