add /share/xcat/tools for aix

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15464 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
lissav 2013-03-12 13:13:27 +00:00
parent fbfe3777b4
commit 5d3e1f3d53

View File

@ -298,7 +298,7 @@ if ! egrep XCATROOT /etc/environment > /dev/null 2>&1 ; then
echo "
# xCAT setup
XCATROOT=$RPM_INSTALL_PREFIX0
PATH=\$XCATROOT/bin:\$XCATROOT/sbin:$PATH
PATH=\$XCATROOT/bin:\$XCATROOT/sbin:\$XCATROOT/share/xcat/tools:$PATH
MANPATH=\$XCATROOT/share/man:\$MANPATH
" >> /etc/environment
fi
@ -307,7 +307,7 @@ if ! egrep XCATROOT /etc/profile > /dev/null 2>&1 ; then
echo "
# xCAT setup
XCATROOT=$RPM_INSTALL_PREFIX0
PATH=\$XCATROOT/bin:\$XCATROOT/sbin:$PATH
PATH=\$XCATROOT/bin:\$XCATROOT/sbin:\$XCATROOT/share/xcat/tools:$PATH
MANPATH=\$XCATROOT/share/man:\$MANPATH
export XCATROOT PATH MANPATH
" >>/etc/profile