Fix nrelease/Makefile from trying to execute whatever is in an environment
authorThomas E. Spanjaard <tgen@dragonflybsd.org>
Fri, 19 Oct 2007 18:02:22 +0000 (18:02 +0000)
committerThomas E. Spanjaard <tgen@dragonflybsd.org>
Fri, 19 Oct 2007 18:02:22 +0000 (18:02 +0000)
variable which it never explicitly set before. ${ENV} ought to be ${ENVCMD},
which makes for weird errors if people use a Bourne shell like mksh with a
custom .shrc.

nrelease/Makefile

index 7dac8e9..bf19040 100644 (file)
@@ -1,4 +1,4 @@
-# $DragonFly: src/nrelease/Makefile,v 1.72 2007/08/18 00:10:50 dillon Exp $
+# $DragonFly: src/nrelease/Makefile,v 1.73 2007/10/19 18:02:22 tgen Exp $
 #
 
 #########################################################################
@@ -225,7 +225,7 @@ customizeiso:
        cp ${PKGSRC_PKG_PATH}/${PKG} ${ISOROOT}/tmp/packages
 .endfor
 .for PKG in ${PKGSRC_PACKAGES}
-       ${ENV} PKG_PATH=/tmp/packages chroot ${ISOROOT} ${PKGBIN_PKG_ADD} -I ${PKG}
+       ${ENVCMD} PKG_PATH=/tmp/packages chroot ${ISOROOT} ${PKGBIN_PKG_ADD} -I ${PKG}
 .endfor
        rm -rf ${ISOROOT}/tmp/packages
        find ${ISOROOT}${PKGSRC_DB} -name +CONTENTS -type f -exec sed -i '' -e 's,${ISOROOT},,' -- {} \;