summaryrefslogtreecommitdiffstats
path: root/kinit/lnusertemp.c
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-07 19:10:38 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-07 19:10:38 -0600
commit99cc03399059853dd8699cae5752e8122cb715f1 (patch)
tree825da375ac05fc555e25b2e350504e211d85d2fb /kinit/lnusertemp.c
parentd5b3ae721dc072e0c70055313de9b5228b6688a8 (diff)
downloadtdelibs-99cc03399059853dd8699cae5752e8122cb715f1.tar.gz
tdelibs-99cc03399059853dd8699cae5752e8122cb715f1.zip
Rename KDEHOME and KDEDIR
Diffstat (limited to 'kinit/lnusertemp.c')
-rw-r--r--kinit/lnusertemp.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/kinit/lnusertemp.c b/kinit/lnusertemp.c
index 31a8afd87..1b613a760 100644
--- a/kinit/lnusertemp.c
+++ b/kinit/lnusertemp.c
@@ -100,7 +100,7 @@ int build_link(const char *tmp_prefix, const char *kde_prefix, int kdehostname)
char tmp_buf[PATH_MAX+1];
int uid = getuid();
const char *home_dir = getenv("HOME");
- const char *kde_home = uid ? getenv("KDEHOME") : getenv("KDEROOTHOME");
+ const char *kde_home = uid ? getenv("TDEHOME") : getenv("KDEROOTHOME");
int result;
struct stat stat_buf;
@@ -181,7 +181,7 @@ int build_link(const char *tmp_prefix, const char *kde_prefix, int kdehostname)
result = lstat(kde_tmp_dir, &stat_buf);
if ((result == 0) && (S_ISDIR(stat_buf.st_mode)))
{
- /* $KDEHOME/tmp is a normal directory. Do nothing. */
+ /* $TDEHOME/tmp is a normal directory. Do nothing. */
/*printf("Directory \"%s\" already exists.\n", kde_tmp_dir);*/
return 0;
}