diff options
author | IkiWiki <ikiwiki.info> | 2020-03-03 03:08:02 -0500 |
---|---|---|
committer | IkiWiki <ikiwiki.info> | 2020-03-03 03:08:02 -0500 |
commit | 70e0dbc4c60b1bb66aa3aee2563897620be6302a (patch) | |
tree | 325275534f8b68221fb4937fd35983ba8940170f /backend/resilient/__init__.py | |
parent | c9d8d12bc837261238a643e5c6fdea061057c6a2 (diff) | |
download | standingwithresilience-70e0dbc4c60b1bb66aa3aee2563897620be6302a.tar.gz standingwithresilience-70e0dbc4c60b1bb66aa3aee2563897620be6302a.zip |
i think ikiwiki will build locally now
Diffstat (limited to 'backend/resilient/__init__.py')
-rw-r--r-- | backend/resilient/__init__.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/backend/resilient/__init__.py b/backend/resilient/__init__.py index 27e15db..73ad2db 100644 --- a/backend/resilient/__init__.py +++ b/backend/resilient/__init__.py @@ -101,12 +101,14 @@ class ikiwiki: binary = "ikiwiki" found = (os.system("%s --version" % binary) == 0) if not found: - binary = "%s/ikiwiki/ikiwiki.out" % dep_path + binary = "%s/prefix/bin/ikiwiki" % dep_path + #binary = "%s/ikiwiki/ikiwiki.out" % dep_path os.environ['PERL5LIB'] = os.path.join(dep_path, 'prefix', 'lib', 'perl5') found = (os.system("%s --version" % binary) == 0) if not found: print("ikiwiki not found: attempting to build") os.system("%s/build_ikiwiki.sh" % dep_path) + binary = "%s/prefix/bin/ikiwiki" % dep_path found = (os.system("%s --version" % binary) == 0) if not found: print("WARNING: ikiwiki not found. did build fail on this platform?") |