diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 1996-12-12 07:53:16 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 1996-12-12 07:53:16 +0000 |
commit | 400d4472f4cbff4f3481e7c0678da3716292f023 (patch) | |
tree | e4e4b310aab44488e7c3ad11bfe4b21cd6376065 | |
parent | a594041ca156b8a0301d8427d5cdf2086a23ae65 (diff) |
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 |