From 70e0dbc4c60b1bb66aa3aee2563897620be6302a Mon Sep 17 00:00:00 2001 From: IkiWiki Date: Tue, 3 Mar 2020 03:08:02 -0500 Subject: i think ikiwiki will build locally now --- backend/resilient/__init__.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'backend/resilient') 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?") -- cgit v1.2.3