summaryrefslogtreecommitdiff
path: root/usr.bin
diff options
context:
space:
mode:
authorMartin Natano <natano@cvs.openbsd.org>2016-09-11 06:40:58 +0000
committerMartin Natano <natano@cvs.openbsd.org>2016-09-11 06:40:58 +0000
commit8a5cc54d58219311cc97d8f365fe839c8093ede9 (patch)
tree3b1ec3d55507ee24d393886ed377c2e3110bb4e9 /usr.bin
parent9101806ddbf8b7504be5eb7d15041107a829081b (diff)
Install the /usr/share/calendar/$lang directories with root as owner.
This will be important as soon as we start building release sets without root privileges. ok deraadt guenther
Diffstat (limited to 'usr.bin')
-rw-r--r--usr.bin/calendar/Makefile7
1 files changed, 3 insertions, 4 deletions
diff --git a/usr.bin/calendar/Makefile b/usr.bin/calendar/Makefile
index ee0950c0bab..6be97aadc56 100644
--- a/usr.bin/calendar/Makefile
+++ b/usr.bin/calendar/Makefile
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile,v 1.10 2015/10/23 10:33:52 tedu Exp $
+# $OpenBSD: Makefile,v 1.11 2016/09/11 06:40:57 natano Exp $
PROG= calendar
SRCS= calendar.c io.c day.c pesach.c ostern.c paskha.c
@@ -8,11 +8,10 @@ beforeinstall:
${INSTALL} ${INSTALL_COPY} -o ${BINOWN} -g ${BINGRP} -m 444 \
${.CURDIR}/calendars/calendar.* ${DESTDIR}/usr/share/calendar
.for lang in ${INTER}
- @test -d ${DESTDIR}/usr/share/calendar/${lang} || \
- mkdir ${DESTDIR}/usr/share/calendar/${lang}
+ ${INSTALL} -d -o root -g wheel ${DESTDIR}/usr/share/calendar/${lang}
${INSTALL} ${INSTALL_COPY} -o ${BINOWN} -g ${BINGRP} -m 444 \
${.CURDIR}/calendars/${lang}/calendar.* \
- ${DESTDIR}/usr/share/calendar/${lang};
+ ${DESTDIR}/usr/share/calendar/${lang}
.endfor
.include <bsd.prog.mk>