From 00a5ee1d837388b14051b7e3596c81a419e46855 Mon Sep 17 00:00:00 2001 From: Marc Espie Date: Thu, 23 Dec 2004 23:58:37 +0000 Subject: 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. --- share/mk/bsd.prog.mk | 4 ++-- 1 file 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 -- cgit v1.2.3