diff options
-rw-r--r-- | backend/resilient/__init__.py | 5 |
1 files changed, 1 insertions, 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") |