diff --git a/distrib/common/Makefile.distrib b/distrib/common/Makefile.distrib index 50690737decf..988c0bfc0d33 100644 --- a/distrib/common/Makefile.distrib +++ b/distrib/common/Makefile.distrib @@ -1,4 +1,4 @@ -# $NetBSD: Makefile.distrib,v 1.2 2003/03/11 07:18:38 lukem Exp $ +# $NetBSD: Makefile.distrib,v 1.3 2003/05/08 13:04:13 christos Exp $ # # Makefile snippet to setup various make variables variables used in distrib/: # @@ -18,10 +18,10 @@ _MAKEFILE_DISTRIB_=1 DISTRIBDIR= ${NETBSDSRCDIR}/distrib -DISTRIBREV!= sh ${NETBSDSRCDIR}/sys/conf/osrelease.sh -s -DISTRIBVER!= sh ${NETBSDSRCDIR}/sys/conf/osrelease.sh +DISTRIBREV!= ${HOST_SH} ${NETBSDSRCDIR}/sys/conf/osrelease.sh -s +DISTRIBVER!= ${HOST_SH} ${NETBSDSRCDIR}/sys/conf/osrelease.sh -MAKESUMS= CKSUM=${CKSUM:Q} sh ${DISTRIBDIR}/sets/makesums +MAKESUMS= CKSUM=${CKSUM:Q} ${HOST_SH} ${DISTRIBDIR}/sets/makesums RELEASE_INSTALL=${INSTALL} ${RENAME} ${PRESERVE} ${COPY} -m ${NONBINMODE} diff --git a/distrib/common/Makefile.makedev b/distrib/common/Makefile.makedev index 015aab3a9190..db4887513e90 100644 --- a/distrib/common/Makefile.makedev +++ b/distrib/common/Makefile.makedev @@ -1,4 +1,4 @@ -# $NetBSD: Makefile.makedev,v 1.5 2003/03/11 07:18:38 lukem Exp $ +# $NetBSD: Makefile.makedev,v 1.6 2003/05/08 13:04:37 christos Exp $ # # Makefile snippet to add ${MAKEDEVTARGETS} devices to the mtree list # (if set), otherwise copy etc.${MACHINE}/MAKEDEV to ./dev @@ -41,7 +41,7 @@ MTREECONF+= ${MAKEDEVSPEC} ${MAKEDEVSPEC}: ${_MAKEDEVSCRIPT} ${_MAKEDEVWRAP} ${_MAKEDEV2SPEC} -rm -f ${.TARGET} ${.TARGET}.tmp MAKEDEVSCRIPT=${_MAKEDEVSCRIPT:Q} \ - sh ${_MAKEDEVWRAP} ${MAKEDEVTARGETS} | \ + ${HOST_SH} ${_MAKEDEVWRAP} ${MAKEDEVTARGETS} | \ awk -f ${_MAKEDEV2SPEC} > ${.TARGET}.tmp \ && sort -o ${.TARGET} ${.TARGET}.tmp