kdesignerplugin: apply sed only for cross builds

This commit is contained in:
Jürgen Buchmüller 2018-02-22 07:29:49 +01:00
parent ddcc092efa
commit da926218d5

View file

@ -19,7 +19,9 @@ if [ -n "$CROSS_BUILD" ]; then
fi
pre_configure() {
sed -i KF5DesignerPluginConfig.cmake -e "s;KF5::;/usr/bin/;"
if [ -n "$CROSS_BUILD" ]; then
sed -i KF5DesignerPluginConfig.cmake -e "s;KF5::;/usr/bin/;"
fi
}
kdesignerplugin-devel_package() {