fix for bug 3406673: change PATH and MANPATH to make xcat ones before OS settings

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@10717 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
ligc 2011-10-09 00:50:21 +00:00
parent 56aecc8f03
commit 831a5b6ace

View File

@ -239,7 +239,7 @@ if ($::INITIALINSTALL)
# add xCAT paths
my $eccmd =
qq~echo '# xCAT setup\nXCATROOT=$::XCATROOT\nPATH=\$PATH:\$XCATROOT/bin:\$XCATROOT/sbin\nMANPATH=\$MANPATH:\$XCATROOT/share/man\nexport XCATROOT PATH MANPATH' >>$profname~;
qq~echo '# xCAT setup\nXCATROOT=$::XCATROOT\nPATH=\$XCATROOT/bin:\$XCATROOT/sbin:\$PATH\nMANPATH=\$XCATROOT/share/man:\$MANPATH\nexport XCATROOT PATH MANPATH' >>$profname~;
$outref = xCAT::Utils->runcmd("$eccmd", 0);
if ($::RUNCMD_RC != 0)
{