summaryrefslogtreecommitdiff
path: root/backend/resilient/__init__.py
diff options
context:
space:
mode:
Diffstat (limited to 'backend/resilient/__init__.py')
-rw-r--r--backend/resilient/__init__.py4
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?")