summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorderaadt <deraadt@openbsd.org>1996-12-12 07:53:15 +0000
committerderaadt <deraadt@openbsd.org>1996-12-12 07:53:15 +0000
commit8face90bb4fb249faacee7f8b46318d3be4a9318 (patch)
tree79fb3341ab39fb13d9e03a67005735d0a35c9331
parent32 bit cleanup, because this code is going to be copied by other ports soon (diff)
downloadwireguard-openbsd-8face90bb4fb249faacee7f8b46318d3be4a9318.tar.xz
wireguard-openbsd-8face90bb4fb249faacee7f8b46318d3be4a9318.zip
fix afterinstall
-rw-r--r--sbin/mount_portal/Makefile7
1 files changed, 4 insertions, 3 deletions
diff --git a/sbin/mount_portal/Makefile b/sbin/mount_portal/Makefile
index c8760182bf0..30b31c72c55 100644
--- a/sbin/mount_portal/Makefile
+++ b/sbin/mount_portal/Makefile
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile,v 1.3 1996/12/08 22:22:38 tholo Exp $
+# $OpenBSD: Makefile,v 1.4 1996/12/12 07:53:15 deraadt Exp $
# $NetBSD: Makefile,v 1.10 1995/03/18 14:57:50 cgd Exp $
PROG= mount_portal
@@ -16,6 +16,7 @@ LDADD= -lcompat
.include <bsd.prog.mk>
afterinstall:
- if [ ! -f ${DESTDIR}/etc/portal.conf ]; then
- ${INSTALL} ${COPY} -o root -g wheel -m 644 portal.conf ${DESTDIR}/etc
+ if [ ! -f ${DESTDIR}/etc/portal.conf ]; then \
+ ${INSTALL} ${COPY} -o root -g wheel -m 644 \
+ ${.CURDIR}/portal.conf ${DESTDIR}/etc; \
fi