parent
5579cea63c
commit
536a2ebb71
|
@ -773,10 +773,11 @@ class Perl(mode.Fundamental):
|
||||||
return path
|
return path
|
||||||
|
|
||||||
def get_inc(self):
|
def get_inc(self):
|
||||||
|
a = self.window.application
|
||||||
if self.perlinc is None:
|
if self.perlinc is None:
|
||||||
cmd = "perl -e 'print join(\"\\n\", @INC);'"
|
cmd = "perl -e 'print join(\"\\n\", @INC);'"
|
||||||
if a.config.get('perl.libs', None):
|
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)
|
cmd = 'PERL5LIB=%r %s' % (s, cmd)
|
||||||
elif a.config.get('perl.lib', None):
|
elif a.config.get('perl.lib', None):
|
||||||
cmd = 'PERL5LIB=%r %s' % (a.config.get('perl.lib'), cmd)
|
cmd = 'PERL5LIB=%r %s' % (a.config.get('perl.lib'), cmd)
|
||||||
|
|
Loading…
Reference in New Issue