From: espie Date: Sun, 13 Mar 2022 13:42:04 +0000 (+0000) Subject: show the realname in verbose mode for tieing. X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=abb1a0cf69f2823f1b3db1b8b8061bcfb0046df3;p=openbsd show the realname in verbose mode for tieing. if we're "fixing" a partial-* package, we want to see exactly what filename we're tieing up to, concretely, not the "theoretic" filename --- diff --git a/usr.sbin/pkg_add/OpenBSD/PkgAdd.pm b/usr.sbin/pkg_add/OpenBSD/PkgAdd.pm index 32299074829..b57c4c2b71a 100644 --- a/usr.sbin/pkg_add/OpenBSD/PkgAdd.pm +++ b/usr.sbin/pkg_add/OpenBSD/PkgAdd.pm @@ -1,7 +1,7 @@ #! /usr/bin/perl # ex:ts=8 sw=4: -# $OpenBSD: PkgAdd.pm,v 1.122 2021/10/12 09:06:37 espie Exp $ +# $OpenBSD: PkgAdd.pm,v 1.123 2022/03/13 13:42:04 espie Exp $ # # Copyright (c) 2003-2014 Marc Espie # @@ -102,7 +102,7 @@ sub tie_files $self->{tieto} = $tied; $tied->{tied} = 1; $state->say("Tying #1 to #2", $self->stringize, - $tied->stringize) if $state->verbose >= 3; + $tied->realname) if $state->verbose >= 3; } }