summaryrefslogtreecommitdiff
path: root/usr.sbin/pkg_add/OpenBSD/PackingElement.pm
diff options
context:
space:
mode:
authorStuart Henderson <sthen@cvs.openbsd.org>2010-10-19 11:38:00 +0000
committerStuart Henderson <sthen@cvs.openbsd.org>2010-10-19 11:38:00 +0000
commiteaca47c71483f81020036f264569889683d511f9 (patch)
tree1af4b7c523c5467184b3e9dcae5cf1b95f159ec5 /usr.sbin/pkg_add/OpenBSD/PackingElement.pm
parentb9aa4fc6c8ed0b55c03b3a8b5f8dad224a94758a (diff)
fix a split() which was causing problems with the mbox.5 manpage
in Mutt, as noticed by Andreas Kahari. ok espie@ "we'll fix the fix if it breaks".
Diffstat (limited to 'usr.sbin/pkg_add/OpenBSD/PackingElement.pm')
-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 cef7bc15bcf..2ff77a94e1e 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.184 2010/10/19 07:29:41 espie Exp $
+# $OpenBSD: PackingElement.pm,v 1.185 2010/10/19 11:37:59 sthen Exp $
#
# Copyright (c) 2003-2010 Marc Espie <espie@openbsd.org>
#
@@ -520,7 +520,7 @@ sub format
my @extra = ();
# extra preprocessors as described in man.
if ($line =~ m/^\'\\\"\s+(.*)$/o) {
- for my $letter (split $1) {
+ for my $letter (split '', $1) {
if ($letter =~ m/[ept]/o) {
push(@extra, "-$letter");
} elsif ($letter eq 'r') {