summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarc Espie <espie@cvs.openbsd.org>2018-06-24 12:38:04 +0000
committerMarc Espie <espie@cvs.openbsd.org>2018-06-24 12:38:04 +0000
commit0004d2cd9795eb8782b7854f793e7c7624cc45de (patch)
tree0b379563916a1d053095920d7349f3aac7379702
parent1c0163f89d1fb13c2bfcb0d2498f24fb0e56513b (diff)
fix need_params
-rw-r--r--usr.sbin/pkg_add/OpenBSD/PackingElement.pm4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/pkg_add/OpenBSD/PackingElement.pm b/usr.sbin/pkg_add/OpenBSD/PackingElement.pm
index 4291c3e9844..f80f3e57eea 100644
--- a/usr.sbin/pkg_add/OpenBSD/PackingElement.pm
+++ b/usr.sbin/pkg_add/OpenBSD/PackingElement.pm
@@ -1,5 +1,5 @@
# ex:ts=8 sw=4:
-# $OpenBSD: PackingElement.pm,v 1.259 2018/06/23 22:46:36 espie Exp $
+# $OpenBSD: PackingElement.pm,v 1.260 2018/06/24 12:38:03 espie Exp $
#
# Copyright (c) 2003-2014 Marc Espie <espie@openbsd.org>
#
@@ -1464,7 +1464,7 @@ sub run_tag
sub need_params
{
my $self = shift;
- return $self->{expanded} =~ m/\%[lu]/;
+ return $self->{params} =~ m/\%[lu]/;
}
package OpenBSD::PackingElement::Exec;