aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/kconf_update/kconf_update.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/kconf_update/kconf_update.cpp b/src/kconf_update/kconf_update.cpp
index 1bcbf7da..829d35e6 100644
--- a/src/kconf_update/kconf_update.cpp
+++ b/src/kconf_update/kconf_update.cpp
@@ -745,7 +745,7 @@ void KonfUpdate::gotScript(const QString &_script)
if (path.isEmpty()) {
if (interpreter.isEmpty()) {
path = CMAKE_INSTALL_PREFIX "/" LIB_INSTALL_DIR "/kconf_update_bin/" + script;
- if (QFile::exists(path)) {
+ if (!QFile::exists(path)) {
path = QStandardPaths::findExecutable(script);
}
}