diff options
author | IkiWiki <ikiwiki.info> | 2020-03-02 14:50:04 -0500 |
---|---|---|
committer | IkiWiki <ikiwiki.info> | 2020-03-02 14:50:04 -0500 |
commit | b878e07e73437252a4e7b6c864e44b104dfba434 (patch) | |
tree | d795b0bf58da48ca28f6312ccb31f6cc7843d60c /backend/resilient/__init__.py | |
parent | 936cc1bc36840eb9752522cae043fec4fb53d39e (diff) | |
download | standingwithresilience-b878e07e73437252a4e7b6c864e44b104dfba434.tar.gz standingwithresilience-b878e07e73437252a4e7b6c864e44b104dfba434.zip |
PERL5LIB further fix
Diffstat (limited to 'backend/resilient/__init__.py')
-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") |