From ef6dc07c7e32aa526bbb6eff16d05991c01c8e4e Mon Sep 17 00:00:00 2001 From: Marius Gripsgard Date: Fri, 4 Oct 2019 08:07:54 +0200 Subject: [PATCH] Don't hardcode path for sed commands --- sensorfw.pro | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sensorfw.pro b/sensorfw.pro index 0b48b54a..afc6997c 100644 --- a/sensorfw.pro +++ b/sensorfw.pro @@ -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 }