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