2
0
mirror of https://github.com/xcat2/xcat-core.git synced 2025-05-30 09:36:41 +00:00

Merge pull request #7326 from gurevichmark/perl_5_libpath2

Add Perl library path to xcat.csh
This commit is contained in:
besawn 2023-02-01 17:38:30 -05:00 committed by GitHub
commit ab0ac2930a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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.*