summaryrefslogtreecommitdiff
path: root/usr.sbin
diff options
context:
space:
mode:
authorMarc Espie <espie@cvs.openbsd.org>2009-11-17 10:16:42 +0000
committerMarc Espie <espie@cvs.openbsd.org>2009-11-17 10:16:42 +0000
commitbdc4f7bbc858fd387ca9ad4f569e46dfe7322acc (patch)
treedd3fa2db4f87b234675ec0b5440dd6dadaf48cdf /usr.sbin
parent70ae6732cdf101c52bbc6453ab689242959afa39 (diff)
style nit
Diffstat (limited to 'usr.sbin')
-rw-r--r--usr.sbin/pkg_add/pkg_create5
1 files 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 <espie@openbsd.org>
#
@@ -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';