diff options
author | 1996-12-12 07:53:15 +0000 | |
---|---|---|
committer | 1996-12-12 07:53:15 +0000 | |
commit | 8face90bb4fb249faacee7f8b46318d3be4a9318 (patch) | |
tree | 79fb3341ab39fb13d9e03a67005735d0a35c9331 | |
parent | 32 bit cleanup, because this code is going to be copied by other ports soon (diff) | |
download | wireguard-openbsd-8face90bb4fb249faacee7f8b46318d3be4a9318.tar.xz wireguard-openbsd-8face90bb4fb249faacee7f8b46318d3be4a9318.zip |
fix afterinstall
-rw-r--r-- | sbin/mount_portal/Makefile | 7 |
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 |