Explorar el Código

produce_html.sh.in: fix pth

ng0 hace 4 años
padre
commit
525fe939b7
Se han modificado 1 ficheros con 6 adiciones y 1 borrados
  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