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:
parent
56aecc8f03
commit
831a5b6ace
@ -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)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user