Skip to content

Commit

Permalink
Don't hardcode path for sed commands
Browse files Browse the repository at this point in the history
  • Loading branch information
mariogrip committed Oct 8, 2019
1 parent ff2d99c commit ef6dc07
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 ef6dc07

Please sign in to comment.