From 1c5cfa639abe15307861ee6fdc59b3ecdee72682 Mon Sep 17 00:00:00 2001 From: Marc Espie Date: Sat, 21 Jan 2012 19:14:06 +0000 Subject: sanitize stuff a bit more... --- usr.sbin/pkg_add/OpenBSD/PkgCreate.pm | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'usr.sbin') diff --git a/usr.sbin/pkg_add/OpenBSD/PkgCreate.pm b/usr.sbin/pkg_add/OpenBSD/PkgCreate.pm index 71a2b43b542..75cd2cc6646 100644 --- a/usr.sbin/pkg_add/OpenBSD/PkgCreate.pm +++ b/usr.sbin/pkg_add/OpenBSD/PkgCreate.pm @@ -1,6 +1,6 @@ #! /usr/bin/perl # ex:ts=8 sw=4: -# $OpenBSD: PkgCreate.pm,v 1.55 2012/01/16 08:42:38 schwarze Exp $ +# $OpenBSD: PkgCreate.pm,v 1.56 2012/01/21 19:14:05 espie Exp $ # # Copyright (c) 2003-2010 Marc Espie # @@ -679,6 +679,8 @@ sub ask_tree chdir $portsdir or exit 2; open STDERR, '>', '/dev/null'; $ENV{FULLPATH} = 'Yes'; + delete $ENV{FLAVOR}; + delete $ENV{SUBPACKAGE}; $ENV{SUBDIR} = $dep->{pkgpath}; $ENV{ECHO_MSG} = ':'; exec $make ('make', @action); -- cgit v1.2.3