summaryrefslogtreecommitdiffstats
path: root/Makefile.upgrade
diff options
context:
space:
mode:
authorbde <bde@FreeBSD.org>2002-03-19 05:58:36 +0000
committerbde <bde@FreeBSD.org>2002-03-19 05:58:36 +0000
commit3b8cb9e7120b4618e61a1573cdaf595c1c617a26 (patch)
tree753422ef2325f9f16e237011267565ea0e40470d /Makefile.upgrade
parent4c485756876ce8e61c99618480ac1f84ebb93d4d (diff)
downloadFreeBSD-src-3b8cb9e7120b4618e61a1573cdaf595c1c617a26.zip
FreeBSD-src-3b8cb9e7120b4618e61a1573cdaf595c1c617a26.tar.gz
Removed "env" commands. "sh" is a real shell, so
"env name=value ... sh ..." was just a pessimized way of doing "name=value ... sh ...".
Diffstat (limited to 'Makefile.upgrade')
-rw-r--r--Makefile.upgrade4
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile.upgrade b/Makefile.upgrade
index a0a68bc..444acd1 100644
--- a/Makefile.upgrade
+++ b/Makefile.upgrade
@@ -57,7 +57,7 @@ aout-to-elf aout-to-elf-install : /var/db/update.cfg \
# front-load all the information we're going to need.
/var/db/update.cfg:
@if [ -f ${.CURDIR}/tools/tools/upgrade/doupgrade.sh ]; then \
- env MACHINE=${MACHINE} CURDIR=${.CURDIR} sh ${.CURDIR}/tools/tools/upgrade/doupgrade.sh 1 /var/db/update.cfg; \
+ MACHINE=${MACHINE} CURDIR=${.CURDIR} sh ${.CURDIR}/tools/tools/upgrade/doupgrade.sh 1 /var/db/update.cfg; \
else \
echo "Your source tree must not be fully populated; unable to find upgrade script"; echo "in ${.CURDIR}/tools/tools/upgrade/doupgrade.sh."; exit 1; \
fi
@@ -187,7 +187,7 @@ ${MAKEOBJDIRPREFIX}/do_aout_installworld :
#
${MAKEOBJDIRPREFIX}/do_elf_kernel :
@if [ -f /var/db/update.cfg -a -f ${.CURDIR}/tools/tools/upgrade/doupgrade.sh ]; then \
- env MACHINE=${MACHINE} CURDIR=${.CURDIR} sh ${.CURDIR}/tools/tools/upgrade/doupgrade.sh 2 /var/db/update.cfg; \
+ MACHINE=${MACHINE} CURDIR=${.CURDIR} sh ${.CURDIR}/tools/tools/upgrade/doupgrade.sh 2 /var/db/update.cfg; \
fi
@touch ${MAKEOBJDIRPREFIX}/do_elf_kernel
@rm -f /var/db/update.cfg
OpenPOWER on IntegriCloud