From 7856f2f716d739e321d72cb492c7ea7f9de7a734 Mon Sep 17 00:00:00 2001 From: Mike Hibler Date: Mon, 16 Nov 2015 12:42:30 -0700 Subject: [PATCH] Use .profile rather than .cshrc as an indication of a populated directory. --- clientside/tmcc/freebsd/liblocsetup.pm | 2 +- clientside/tmcc/linux/liblocsetup.pm | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/clientside/tmcc/freebsd/liblocsetup.pm b/clientside/tmcc/freebsd/liblocsetup.pm index 25b56d059..f4e4a370c 100644 --- a/clientside/tmcc/freebsd/liblocsetup.pm +++ b/clientside/tmcc/freebsd/liblocsetup.pm @@ -459,7 +459,7 @@ sub os_useradd($$$$$$$$$) # Locally, if directory exists and is populated, skip -m # cause FreeBSD copies files in anyway! $args .= "-m " - if (! -d $homedir || ! -e "$homedir/.cshrc"); + if (! -d $homedir || ! -e "$homedir/.profile"); } else { # populate on remote nodes. At some point will tar files over. diff --git a/clientside/tmcc/linux/liblocsetup.pm b/clientside/tmcc/linux/liblocsetup.pm index 019b2c5f5..4cee82a7a 100644 --- a/clientside/tmcc/linux/liblocsetup.pm +++ b/clientside/tmcc/linux/liblocsetup.pm @@ -1111,7 +1111,7 @@ sub os_useradd_real($$$$$$$$$) # Locally, if directory exists and is populated, skip -m # and make sure no attempt is made to create. - if (! -d $homedir || ! -e "$homedir/.cshrc") { + if (! -d $homedir || ! -e "$homedir/.profile") { $args .= "-m "; } else { -- GitLab