Browse Source

produce_html.sh.in: fix pth

ng0 4 years ago
parent
commit
525fe939b7
1 changed files with 6 additions and 1 deletions
  1. 6 1
      doc/man/produce_html.sh.in

+ 6 - 1
doc/man/produce_html.sh.in

@@ -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