mirror of
https://github.com/xcat2/xcat-core.git
synced 2026-05-17 11:54:16 +00:00
Merge pull request #7574 from VersatusHPC/fix/7379-xcat-csh-syntax
fix: csh syntax error in /etc/profile.d/xcat.csh
This commit is contained in:
@@ -343,9 +343,9 @@ endif
|
||||
setenv PERL_BADLANG 0
|
||||
# If /usr/local/share/perl5 is not already in @INC, add it to PERL5LIB
|
||||
perl -e "print \"@INC\"" | grep -E "(^|\W)/usr/local/share/perl5($| )" > /dev/null
|
||||
if [ \$? = 1 ]; then
|
||||
if ( \$? == 1 ) then
|
||||
setenv PERL5LIB /usr/local/share/perl5:\${PERL5LIB}
|
||||
fi
|
||||
endif
|
||||
EOF
|
||||
chmod 755 /etc/profile.d/xcat.*
|
||||
|
||||
|
||||
Reference in New Issue
Block a user