--- a/src/kconf_update/kconf_update.cpp +++ b/src/kconf_update/kconf_update.cpp @@ -759,7 +759,7 @@ void KonfUpdate::gotScript(const QString QString path = QStandardPaths::locate(QStandardPaths::GenericDataLocation, QLatin1String("kconf_update/") + script); if (path.isEmpty()) { if (interpreter.isEmpty()) { - path = QLatin1String{CMAKE_INSTALL_PREFIX "/" LIB_INSTALL_DIR "/kconf_update_bin/"} + script; + path = QLatin1String{LIB_INSTALL_DIR "/kconf_update_bin/"} + script; if (!QFile::exists(path)) { path = QStandardPaths::findExecutable(script); }