produce_html.sh.in: fix pth
authorng0 <ng0@n0.is>
Mon, 25 Nov 2019 22:47:31 +0000 (22:47 +0000)
committerng0 <ng0@n0.is>
Mon, 25 Nov 2019 22:47:31 +0000 (22:47 +0000)
doc/man/produce_html.sh.in

index 3f4520776cf4859d92b5418f3a204d63ce4cb010..962601513e1242c46f3b496ad8f63b40028b028a 100755 (executable)
@@ -1,6 +1,11 @@
 #!/bin/sh
 
-. @pkgdatadir@/existence.sh
+if test -e @pkgdatadir@/existence.sh
+then
+    . @pkgdatadir@/existence.sh
+else
+    . $dir/../../contrib/build-common/sh/lib.sh/existence.sh
+fi
 
 if existence mandoc;
 then