diff options
author | Dimitri John Ledkov <dimitri.j.ledkov@intel.com> | 2014-10-03 14:28:45 +0100 |
---|---|---|
committer | Dimitri John Ledkov <dimitri.j.ledkov@intel.com> | 2014-10-05 22:43:24 +0100 |
commit | 3c5c14d5bbd0e93bd248a26c7a538dc0017236a3 (patch) | |
tree | 3d9e4709c254b849056f094da45bc2c1352412b8 | |
parent | 613bb1d69baeafbc8400c41a91377d0c710f737c (diff) |
Fix Build::Zypp:parsecfg expected full config file name.
Fixes #135
Signed-off-by: Dimitri John Ledkov <dimitri.j.ledkov@intel.com>
-rw-r--r-- | Build/Zypp.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Build/Zypp.pm b/Build/Zypp.pm index bd0ced0..354ca01 100644 --- a/Build/Zypp.pm +++ b/Build/Zypp.pm @@ -8,7 +8,7 @@ sub parsecfg { my ($repocfg, $reponame) = @_; local *REPO; - open(REPO, '<', "$root/etc/zypp/repos.d/$repocfg.repo") or return undef; + open(REPO, '<', "$root/etc/zypp/repos.d/$repocfg") or return undef; my $name; my $repo = {}; while (<REPO>) { |