From b878e07e73437252a4e7b6c864e44b104dfba434 Mon Sep 17 00:00:00 2001 From: IkiWiki Date: Mon, 2 Mar 2020 14:50:04 -0500 Subject: PERL5LIB further fix --- backend/resilient/__init__.py | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/backend/resilient/__init__.py b/backend/resilient/__init__.py index 03ba173..e9ea49c 100644 --- a/backend/resilient/__init__.py +++ b/backend/resilient/__init__.py @@ -102,10 +102,7 @@ class ikiwiki: found = (os.system("%s --version" % binary) == 0) if not found: binary = "%s/ikiwiki/ikiwiki.out" % dep_path - if os.environ.has_key('PERL5LIB'): - os.environ['PERL5LIB'] += ':' + os.path.join(dep_path, 'ikiwiki') - else: - os.environ['PERL5LIB'] = os.path.join(dep_path, 'ikiwiki') + os.environ['PERL5LIB'] = os.path.join(dep_path, 'ikiwiki') found = (os.system("%s --version" % binary) == 0) if not found: print("ikiwiki not found: attempting to build") -- cgit v1.2.3