- don't clobber REPO handle
authorMichael Schroeder <mls@suse.de>
Tue, 16 Feb 2010 14:40:17 +0000 (15:40 +0100)
committerMichael Schroeder <mls@suse.de>
Tue, 16 Feb 2010 14:40:17 +0000 (15:40 +0100)
Build/Zypp.pm

index 4b17cf8..ac1550e 100644 (file)
@@ -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 = {};