From: deraadt Date: Thu, 12 Dec 1996 07:53:15 +0000 (+0000) Subject: fix afterinstall X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=8face90bb4fb249faacee7f8b46318d3be4a9318;p=openbsd fix afterinstall --- 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 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