From 95a8db39f2caef8a17d94e6af15c2c75167dbbda Mon Sep 17 00:00:00 2001 From: bybai Date: Mon, 28 Mar 2016 03:10:43 -0400 Subject: [PATCH] polish lsf_startup --- xCAT/postscripts/lsf_startup | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/xCAT/postscripts/lsf_startup b/xCAT/postscripts/lsf_startup index a8dd3bee9..d23f83a51 100644 --- a/xCAT/postscripts/lsf_startup +++ b/xCAT/postscripts/lsf_startup @@ -62,12 +62,12 @@ do if [[ -f /root/.bash_profile ]] then if ! grep -q -i "#Added by lsf_startup" /root/.bash_profile ; then - echo "#Added by lsf_startup." + echo "#Added by lsf_startup." >> /root/.bash_profile echo ". $LSF_TOP/conf/profile.lsf" >> /root/.bash_profile fi else if ! grep -q -i "#Added by lsf_startup" /root/.profile ; then - echo "#Added by lsf_startup." + echo "#Added by lsf_startup." >> /root/.profile echo ". $LSF_TOP/conf/profile.lsf" >> /root/.profile fi