Commit Diff


commit - 08ace0e9934b81ee64585f185df023b4d20ee5a7
commit + fbad57677b50946db6f27436ff7de698d2ab58bc
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 \