commonshrc: Only run perl once.
This commit is contained in:
parent
3ef1cb5444
commit
8603c98def
@ -47,8 +47,9 @@ add_to PATH ~/.gem/ruby/1.8/bin
|
||||
add_to PATH ~/.gem/ruby/1.9.1/bin
|
||||
|
||||
if [ -x /usr/bin/perl ]; then
|
||||
add_myprefix_to PERL5LIB lib/perl/`perl -e 'printf"%vd\n",$^V'`
|
||||
add_myprefix_to PERL5LIB share/perl/`perl -e 'printf"%vd\n",$^V'`
|
||||
PERLVERSION="`perl -e 'printf"%vd\n",$^V'`"
|
||||
add_myprefix_to PERL5LIB lib/perl/$PERLVERSION
|
||||
add_myprefix_to PERL5LIB share/perl/$PERLVERSION
|
||||
fi
|
||||
|
||||
add_myprefix_to R_LIBS lib/R:/usr/lib/R/site-library
|
||||
|
Loading…
Reference in New Issue
Block a user