From bdc4f7bbc858fd387ca9ad4f569e46dfe7322acc Mon Sep 17 00:00:00 2001 From: Marc Espie Date: Tue, 17 Nov 2009 10:16:42 +0000 Subject: style nit --- usr.sbin/pkg_add/pkg_create | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/usr.sbin/pkg_add/pkg_create b/usr.sbin/pkg_add/pkg_create index d2965d73cb6..148b2072023 100644 --- a/usr.sbin/pkg_add/pkg_create +++ b/usr.sbin/pkg_add/pkg_create @@ -1,6 +1,6 @@ #! /usr/bin/perl # ex:ts=8 sw=4: -# $OpenBSD: pkg_create,v 1.123 2009/11/10 11:36:56 espie Exp $ +# $OpenBSD: pkg_create,v 1.124 2009/11/17 10:16:41 espie Exp $ # # Copyright (c) 2003-2007 Marc Espie # @@ -376,8 +376,7 @@ sub read_fragments while(my $file = pop @$stack) { GETLINE: while ($_ = $file->readline) { - if (m/^(\!)?\%\%(.*)\%\%$/o) { - my ($not, $frag) = ($1, $2); + if (my ($not, $frag) = m/^(\!)?\%\%(.*)\%\%$/) { my $def = $frag; if ($frag eq 'SHARED') { $def = 'SHARED_LIBS'; -- cgit v1.2.3