[master] b16cea796 Dont rely on realpath(1), OSX does not have it.

Poul-Henning Kamp phk at FreeBSD.org
Wed Oct 27 10:42:05 UTC 2021


commit b16cea796f519bda1ba0b45f24e9f3933c5c3e3c
Author: Poul-Henning Kamp <phk at FreeBSD.org>
Date:   Wed Oct 27 10:41:03 2021 +0000

    Dont rely on realpath(1), OSX does not have it.

diff --git a/doc/sphinx/Makefile.am b/doc/sphinx/Makefile.am
index 45ec33345..56a3a9096 100644
--- a/doc/sphinx/Makefile.am
+++ b/doc/sphinx/Makefile.am
@@ -22,7 +22,7 @@ clean:
 .PHONY: link_srcdir
 link_srcdir: graphviz conf.py $(BUILT_SOURCES)
 	if test "x$(srcdir)" != "x$(builddir)" && test ! -f index.rst; then \
-		s=`realpath $(srcdir)`; \
+		s=`cd $(srcdir) && pwd`; \
 		for f in `cd $$s && find . -type f`; do \
 			d=`dirname $$f`; \
 			test -d $$d || mkdir -p $$d; \


More information about the varnish-commit mailing list