Commit Diff


commit - bc86081f6e8a812b584db78c679362859462f5ca
commit + e72def18155fca792de130424df65f682b5ab5be
blob - 21de99d339291999ae9953fa640799e945b50872
blob + 0d22c3ab2c4d40606c11c44bd82449f367e2a9bf
--- gotd/Makefile
+++ gotd/Makefile
@@ -2,8 +2,9 @@
 
 .include "../got-version.mk"
 
-PREFIX ?=	/usr/local
+.if ${GOT_RELEASE} == "Yes"
 BINDIR ?=	${PREFIX}/sbin
+.endif
 
 PROG=		gotd
 SRCS=		gotd.c repo_read.c repo_write.c log.c privsep_stub.c imsg.c \