From abb1a0cf69f2823f1b3db1b8b8061bcfb0046df3 Mon Sep 17 00:00:00 2001 From: espie Date: Sun, 13 Mar 2022 13:42:04 +0000 Subject: [PATCH] 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 --- usr.sbin/pkg_add/OpenBSD/PkgAdd.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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; } } -- 2.20.1