Commit 1570c56fa1fc478f10a2d493693767f2b39c85d2

Tracey Emery 2020-01-30T20:17:57

add conditional variable assignment operator to CHROOT_DIR

1
2
3
4
5
6
7
8
9
10
11
12
13
diff --git a/gotweb/Makefile.inc b/gotweb/Makefile.inc
index f7c4df6..445d054 100644
--- a/gotweb/Makefile.inc
+++ b/gotweb/Makefile.inc
@@ -1,7 +1,7 @@
 KCGIBASE ?=	/usr/local
 LDADD +=	-lz -lutil
 LDSTATIC =	${STATIC}
-CHROOT_DIR =	/var/www
+CHROOT_DIR ?=	/var/www
 GOTWEB_DIR =	/cgi-bin/gotweb
 LIBEXECDIR =	${GOTWEB_DIR}/libexec
 LIBEXEC_DIR =	${CHROOT_DIR}${LIBEXECDIR}