diff options
Diffstat (limited to 'usr.sbin/pkg_add/OpenBSD/Add.pm')
-rw-r--r-- | usr.sbin/pkg_add/OpenBSD/Add.pm | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.sbin/pkg_add/OpenBSD/Add.pm b/usr.sbin/pkg_add/OpenBSD/Add.pm index cdf4a041e70..6a45b57cac3 100644 --- a/usr.sbin/pkg_add/OpenBSD/Add.pm +++ b/usr.sbin/pkg_add/OpenBSD/Add.pm @@ -1,5 +1,5 @@ # ex:ts=8 sw=4: -# $OpenBSD: Add.pm,v 1.71 2007/06/04 14:40:39 espie Exp $ +# $OpenBSD: Add.pm,v 1.72 2007/06/04 18:55:47 espie Exp $ # # Copyright (c) 2003-2007 Marc Espie <espie@openbsd.org> # @@ -204,8 +204,8 @@ sub add_entry my $f = shift; my $v = shift; next if !defined $v or $v eq ''; - if ($v =~ m/^\!/o) { - push(@$l, $f, $'); + if ($v =~ m/^\!(.*)$/o) { + push(@$l, $f, $1); } else { push(@$l, $f, $v); } |