From 9ef57ea4c0923c8e31ca288e4df4bca25068ba82 Mon Sep 17 00:00:00 2001 From: espie Date: Thu, 12 May 2022 17:01:01 +0000 Subject: [PATCH] yet another stupid shadowed variable, thx sthen@ --- usr.sbin/pkg_add/OpenBSD/PkgCreate.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/usr.sbin/pkg_add/OpenBSD/PkgCreate.pm b/usr.sbin/pkg_add/OpenBSD/PkgCreate.pm index e3a24526b85..e4dc254c75b 100644 --- a/usr.sbin/pkg_add/OpenBSD/PkgCreate.pm +++ b/usr.sbin/pkg_add/OpenBSD/PkgCreate.pm @@ -1,6 +1,6 @@ #! /usr/bin/perl # ex:ts=8 sw=4: -# $OpenBSD: PkgCreate.pm,v 1.175 2022/05/12 14:21:06 espie Exp $ +# $OpenBSD: PkgCreate.pm,v 1.176 2022/05/12 17:01:01 espie Exp $ # # Copyright (c) 2003-2014 Marc Espie # @@ -1569,7 +1569,7 @@ sub save_history my $name = $plist->fullpkgpath; $name =~ s,/,.,g; - my $fname = "$dir/$name"; + $fname = "$dir/$name"; my $n = 0; if (open(my $f, '<', $fname)) { -- 2.20.1