diff options
author | Darrell Anderson <humanreadable@yahoo.com> | 2012-03-07 17:33:18 -0600 |
---|---|---|
committer | Darrell Anderson <humanreadable@yahoo.com> | 2012-03-07 17:33:18 -0600 |
commit | 691a81483430c4b7b4433d45381e8d32b6d56909 (patch) | |
tree | 7a5fffa1e5567e01064da713ed5d6ec5ff228a9d /tdesu | |
parent | 116a6f5778c33b337c2f4cd04d9216c41d4ef8d5 (diff) | |
download | tdelibs-691a81483430c4b7b4433d45381e8d32b6d56909.tar.gz tdelibs-691a81483430c4b7b4433d45381e8d32b6d56909.zip |
Rename straggling environment variables KDE->TDE.
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 |