fix for bug 3424615: put xcat PATH,MANPATH ahead of OS ones
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@10823 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
parent
5fb247add4
commit
d3e616095a
@ -229,11 +229,11 @@ EOF
|
||||
|
||||
cat << EOF > /etc/profile.d/xcat.csh
|
||||
setenv XCATROOT "$RPM_INSTALL_PREFIX0"
|
||||
setenv PATH \${PATH}:\${XCATROOT}/bin:\${XCATROOT}/sbin
|
||||
setenv PATH \${XCATROOT}/bin:\${XCATROOT}/sbin:\${PATH}
|
||||
if !(\$?MANPATH) then
|
||||
setenv MANPATH \${XCATROOT}/share/man:
|
||||
else
|
||||
setenv MANPATH \${MANPATH}:\${XCATROOT}/share/man:
|
||||
setenv MANPATH \${XCATROOT}/share/man:\${MANPATH}
|
||||
endif
|
||||
setenv PERL_BADLANG 0
|
||||
EOF
|
||||
@ -250,8 +250,8 @@ if ! egrep XCATROOT /etc/profile > /dev/null 2>&1 ; then
|
||||
echo "
|
||||
# xCAT setup
|
||||
XCATROOT=$RPM_INSTALL_PREFIX0
|
||||
PATH=\$PATH:\$XCATROOT/bin:\$XCATROOT/sbin
|
||||
MANPATH=\$MANPATH:\$XCATROOT/share/man:
|
||||
PATH=\$XCATROOT/bin:\$XCATROOT/sbin:$PATH
|
||||
MANPATH=\$XCATROOT/share/man:\$MANPATH
|
||||
export XCATROOT PATH MANPATH
|
||||
" >>/etc/profile
|
||||
fi
|
||||
|
Loading…
Reference in New Issue
Block a user