From 99cc03399059853dd8699cae5752e8122cb715f1 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Wed, 7 Dec 2011 19:10:38 -0600 Subject: Rename KDEHOME and KDEDIR --- kinit/lnusertemp.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'kinit/lnusertemp.c') 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; } -- cgit v1.2.1