Apply the below fix for this ::
open the file : /etc/profile.d/locallib.csh and replace the code : eval $(perl -Mlocal::lib) with eval
perl -Mlocal::lib
So it should show the output as ::
cat /etc/profile.d/locallib.csh
#cPanel Added local::lib -- BEGIN
setenv LOCALLIBUSER $USER
if ( -e /usr/bin/whoami ) then
setenv LOCALLIBUSER `whoami`
endif
if ( "$LOCALLIBUSER" != "root" ) then
eval `perl -Mlocal::lib`
endif
#cPanel Added local::lib -- END
instead of
cat /etc/profile.d/locallib.csh
#cPanel Added local::lib -- BEGIN
setenv LOCALLIBUSER $USER
if ( -e /usr/bin/whoami ) then
setenv LOCALLIBUSER `whoami`
endif
if ( "$LOCALLIBUSER" != "root" ) then
eval $(perl -Mlocal::lib)
endif
#cPanel Added local::lib -- END
No comments:
Post a Comment