diff options
author | Marc Espie <espie@cvs.openbsd.org> | 2004-12-23 23:58:37 +0000 |
---|---|---|
committer | Marc Espie <espie@cvs.openbsd.org> | 2004-12-23 23:58:37 +0000 |
commit | 00a5ee1d837388b14051b7e3596c81a419e46855 (patch) | |
tree | 2f58eb9d2302a03df6b0c73cc59a649c1a14d57a | |
parent | 2a4de8d57e47227dcf7632452c4628b4cc643ef4 (diff) |
give a complete path during install, so that we don't accidentally create
a file with the wrong name if the directory doesn't exist.
Shouldn't happen, ... but when it does it's hard to figure out.
`sounds sane' theo@.
ran through make build without issue.
-rw-r--r-- | share/mk/bsd.prog.mk | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/share/mk/bsd.prog.mk b/share/mk/bsd.prog.mk index c5e08b8121d..243158ebe6f 100644 --- a/share/mk/bsd.prog.mk +++ b/share/mk/bsd.prog.mk @@ -1,4 +1,4 @@ -# $OpenBSD: bsd.prog.mk,v 1.42 2004/10/20 09:28:17 espie Exp $ +# $OpenBSD: bsd.prog.mk,v 1.43 2004/12/23 23:58:36 espie Exp $ # $NetBSD: bsd.prog.mk,v 1.55 1996/04/08 21:19:26 jtc Exp $ # @(#)bsd.prog.mk 5.26 (Berkeley) 6/25/91 @@ -149,7 +149,7 @@ afterinstall: realinstall: .if defined(PROG) ${INSTALL} ${INSTALL_COPY} ${INSTALL_STRIP} -o ${BINOWN} -g ${BINGRP} \ - -m ${BINMODE} ${PROG} ${DESTDIR}${BINDIR} + -m ${BINMODE} ${PROG} ${DESTDIR}${BINDIR}/${PROG} .endif .endif |