summaryrefslogtreecommitdiff
path: root/usr.sbin/pkg_add/OpenBSD
diff options
context:
space:
mode:
authorMarc Espie <espie@cvs.openbsd.org>2012-01-21 19:14:06 +0000
committerMarc Espie <espie@cvs.openbsd.org>2012-01-21 19:14:06 +0000
commit1c5cfa639abe15307861ee6fdc59b3ecdee72682 (patch)
tree1a976f17f98f8b467decfb972a713ae13cd2b325 /usr.sbin/pkg_add/OpenBSD
parent9eb1568718890683e687c226e2480ec91416a069 (diff)
sanitize stuff a bit more...
Diffstat (limited to 'usr.sbin/pkg_add/OpenBSD')
-rw-r--r--usr.sbin/pkg_add/OpenBSD/PkgCreate.pm4
1 files changed, 3 insertions, 1 deletions
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 <espie@openbsd.org>
#
@@ -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);