From: Michael Schroeder Date: Tue, 16 Feb 2010 14:40:17 +0000 (+0100) Subject: - don't clobber REPO handle X-Git-Tag: obs_2.0~89^2~4 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=16bd8740cf785187e29a99d8b4ef3102ca37c2dc;p=tools%2Fobs-build.git - don't clobber REPO handle --- diff --git a/Build/Zypp.pm b/Build/Zypp.pm index 4b17cf8..ac1550e 100644 --- a/Build/Zypp.pm +++ b/Build/Zypp.pm @@ -8,6 +8,7 @@ sub parsecfg($) { my $file = shift; my $repocfg = "$root/etc/zypp/repos.d/$file.repo"; + local *REPO; open(REPO, '<', $repocfg) or return undef; my $name; my $repo = {};