diff options
Diffstat (limited to 'tdesu')
-rw-r--r-- | tdesu/stub.cpp | 4 | ||||
-rw-r--r-- | tdesu/su.cpp | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/tdesu/stub.cpp b/tdesu/stub.cpp index 5b222f51e..f5b435b40 100644 --- a/tdesu/stub.cpp +++ b/tdesu/stub.cpp @@ -125,11 +125,11 @@ int StubProcess::ConverseStub(int check) if (!path.isEmpty()) path = "/usr/local/sbin:/usr/sbin:/sbin:" + path; else - if (strcmp(__KDE_BINDIR, "/usr/bin") == 0) { + if (strcmp(__TDE_BINDIR, "/usr/bin") == 0) { path = "/usr/local/sbin:/usr/sbin:/sbin:/usr/local/bin:/usr/bin:/bin"; } else { - path = "/usr/local/sbin:/usr/sbin:/sbin:/usr/local/bin:" __KDE_BINDIR ":/usr/bin:/bin"; + path = "/usr/local/sbin:/usr/sbin:/sbin:/usr/local/bin:" __TDE_BINDIR ":/usr/bin:/bin"; } writeLine(path); } else if (line == "user") { diff --git a/tdesu/su.cpp b/tdesu/su.cpp index 0739c29c3..c4e75772e 100644 --- a/tdesu/su.cpp +++ b/tdesu/su.cpp @@ -112,7 +112,7 @@ int SuProcess::exec(const char *password, int check) if (superUserCommand == "su") { args += "-c"; } - args += TQCString(__KDE_BINDIR) + "/tdesu_stub"; + args += TQCString(__TDE_BINDIR) + "/tdesu_stub"; #ifndef Q_OS_DARWIN args += "-"; #endif |