branch : pmacs2
This commit is contained in:
moculus 2009-01-06 23:45:05 +00:00
parent 5579cea63c
commit 536a2ebb71
1 changed files with 2 additions and 1 deletions

View File

@ -773,10 +773,11 @@ class Perl(mode.Fundamental):
return path
def get_inc(self):
a = self.window.application
if self.perlinc is None:
cmd = "perl -e 'print join(\"\\n\", @INC);'"
if a.config.get('perl.libs', None):
s = ':'.join(['%r' % x for x in a.config.get('perl.libs')])
s = ':'.join(['%s' % x for x in a.config.get('perl.libs')])
cmd = 'PERL5LIB=%r %s' % (s, cmd)
elif a.config.get('perl.lib', None):
cmd = 'PERL5LIB=%r %s' % (a.config.get('perl.lib'), cmd)