diff --git a/xCAT-client/xCAT-client.spec b/xCAT-client/xCAT-client.spec index ae90c0e5e..54e418b4f 100644 --- a/xCAT-client/xCAT-client.spec +++ b/xCAT-client/xCAT-client.spec @@ -269,7 +269,7 @@ fi %ifos linux cat << EOF > /etc/profile.d/xcat.sh 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 export PERL_BADLANG=0 @@ -277,7 +277,7 @@ EOF cat << EOF > /etc/profile.d/xcat.csh setenv XCATROOT "$RPM_INSTALL_PREFIX0" -setenv PATH \${XCATROOT}/bin:\${XCATROOT}/sbin:\${PATH} +setenv PATH \${XCATROOT}/bin:\${XCATROOT}/sbin:\${XCATROOT}/share/xcat/tools:\${PATH} if !(\$?MANPATH) then setenv MANPATH \${XCATROOT}/share/man: else