mirror of
https://github.com/xcat2/xcat-core.git
synced 2025-05-30 01:26:38 +00:00
Add Perl library path to xcat.csh
This commit is contained in:
parent
fb11f15b4d
commit
3cc4a39c84
@ -345,7 +345,7 @@ setenv PERL_BADLANG 0
|
||||
# If /usr/local/share/perl5 is not already in @INC, add it to PERL5LIB
|
||||
perl -e "print \"@INC\"" | egrep "(^|\W)/usr/local/share/perl5($| )" > /dev/null
|
||||
if [ \$? = 1 ]; then
|
||||
setenv PERL5LIB /usr/local/share/perl5:\$PERL5LIB
|
||||
setenv PERL5LIB /usr/local/share/perl5:\${PERL5LIB}
|
||||
fi
|
||||
EOF
|
||||
chmod 755 /etc/profile.d/xcat.*
|
||||
|
Loading…
x
Reference in New Issue
Block a user