diff options
author | Peter Hessler <phessler@cvs.openbsd.org> | 2009-10-15 10:47:08 +0000 |
---|---|---|
committer | Peter Hessler <phessler@cvs.openbsd.org> | 2009-10-15 10:47:08 +0000 |
commit | f8904c181f5f8d91b7c387e4176d98fb6b236ba7 (patch) | |
tree | 2b80ead3b09054b9528f3c40e6f0ec3a3ee0edac /usr.sbin/pkg_add/pkg_info | |
parent | 79c5d277257cd0dd954ca3aea4805f704391bea8 (diff) |
fix typo that prevented `pkg_info -r` from working.
OK espie@
Diffstat (limited to 'usr.sbin/pkg_add/pkg_info')
-rw-r--r-- | usr.sbin/pkg_add/pkg_info | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.sbin/pkg_add/pkg_info b/usr.sbin/pkg_add/pkg_info index ac4ffe53b4d..37675c457d8 100644 --- a/usr.sbin/pkg_add/pkg_info +++ b/usr.sbin/pkg_add/pkg_info @@ -1,6 +1,6 @@ #! /usr/bin/perl # ex:ts=8 sw=4: -# $OpenBSD: pkg_info,v 1.77 2009/10/11 20:09:48 jmc Exp $ +# $OpenBSD: pkg_info,v 1.78 2009/10/15 10:47:07 phessler Exp $ # # Copyright (c) 2003-2009 Marc Espie <espie@openbsd.org> # @@ -317,10 +317,10 @@ sub print_info printfile($handle->info.DEINSTALL, \*STDOUT); print "\n"; } - if ($opt_r && -f $handle->info.REQUIRE) { + if ($opt_r && -f $handle->info.REQUIRING) { just_in_time_header($pkg, $handle ,\$done); print $opt_l, "Require script:\n" unless $opt_q; - printfile($handle->info.REQUIRE, \*STDOUT); + printfile($handle->info.REQUIRING, \*STDOUT); print "\n"; } my $plist; |