Add 'env - PATH=$$PATH' to bsdec2-image-upload make command, in order to

avoid environment pollution problems.  That port uses <bsd.prog.mk> but
is not compatible with the latest mk bits in HEAD.

Reported by:	gjb
No rush, but make sure it's in the tree before tomorrow by:	gjb
This commit is contained in:
Colin Percival 2016-06-09 03:54:25 +00:00
parent d3a5e7a338
commit 17dbc50b70
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=301716

View File

@ -23,7 +23,7 @@ CW_EC2_PORTINSTALL=
cw-ec2-portinstall:
.if exists(${PORTSDIR}/net/bsdec2-image-upload/Makefile)
make -C ${PORTSDIR}/net/bsdec2-image-upload BATCH=1 all install clean
env - PATH=$$PATH make -C ${PORTSDIR}/net/bsdec2-image-upload BATCH=1 all install clean
.else
. if !exists(/usr/local/sbin/pkg-static)
env ASSUME_ALWAYS_YES=yes pkg bootstrap -y