summaryrefslogtreecommitdiff
path: root/usr.sbin/pkg_add/OpenBSD/PkgInfo.pm
diff options
context:
space:
mode:
Diffstat (limited to 'usr.sbin/pkg_add/OpenBSD/PkgInfo.pm')
-rw-r--r--usr.sbin/pkg_add/OpenBSD/PkgInfo.pm14
1 files changed, 7 insertions, 7 deletions
diff --git a/usr.sbin/pkg_add/OpenBSD/PkgInfo.pm b/usr.sbin/pkg_add/OpenBSD/PkgInfo.pm
index 9c452622eed..eb36cd9394e 100644
--- a/usr.sbin/pkg_add/OpenBSD/PkgInfo.pm
+++ b/usr.sbin/pkg_add/OpenBSD/PkgInfo.pm
@@ -1,6 +1,6 @@
#! /usr/bin/perl
# ex:ts=8 sw=4:
-# $OpenBSD: PkgInfo.pm,v 1.11 2010/06/30 10:41:42 espie Exp $
+# $OpenBSD: PkgInfo.pm,v 1.12 2010/06/30 10:51:04 espie Exp $
#
# Copyright (c) 2003-2010 Marc Espie <espie@openbsd.org>
#
@@ -99,7 +99,7 @@ sub footer
if ($state->opt('l')) {
$state->say("#1", $state->opt('l'));
} else {
- $state->say("");
+ $state->say;
}
}
@@ -114,7 +114,7 @@ sub printfile
$state->say("#1", $_);
}
close $fh;
- $state->say('');
+ $state->say;
}
sub print_description
@@ -129,7 +129,7 @@ sub print_description
$state->say("#1", $_);
}
close $fh;
- $state->say('');
+ $state->say;
}
sub hasanyopt
@@ -397,7 +397,7 @@ sub print_info
$state->header($handle);
$state->banner("Files:");
$plist->dump_file($state->opt('K'));
- $state->say('');
+ $state->say;
}
if ($state->opt('C')) {
$state->header($handle);
@@ -436,7 +436,7 @@ sub print_info
$state->say("#1", $plist->fullpkgpath);
} else {
$state->errsay("#1 has no FULLPKGPATH", $plist->pkgname);
- $state->say("");
+ $state->say;
}
}
@@ -444,7 +444,7 @@ sub print_info
$state->header($handle);
$state->banner("Packing-list:");
$plist->write(\*STDOUT);
- $state->say('');
+ $state->say;
}
$state->footer($handle);
}