From: espie Date: Thu, 12 May 2022 17:01:01 +0000 (+0000) Subject: yet another stupid shadowed variable, thx sthen@ X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=9ef57ea4c0923c8e31ca288e4df4bca25068ba82;p=openbsd yet another stupid shadowed variable, thx sthen@ --- 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)) {