projects
/
platform
/
upstream
/
build.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a4530d6
)
give a better hint on using wrong kiwi repository path url
author
Adrian Schröter
<adrian@suse.de>
Thu, 18 Nov 2010 10:54:18 +0000
(11:54 +0100)
committer
Adrian Schröter
<adrian@suse.de>
Thu, 18 Nov 2010 10:54:18 +0000
(11:54 +0100)
Build/Kiwi.pm
patch
|
blob
|
history
diff --git
a/Build/Kiwi.pm
b/Build/Kiwi.pm
index
df04fe3
..
05a6e5b
100644
(file)
--- a/
Build/Kiwi.pm
+++ b/
Build/Kiwi.pm
@@
-180,7
+180,7
@@
sub kiwiparse {
for my $repository (@repositories) {
my $kiwisource = ($repository->{'source'} || [])->[0];
next if $kiwisource->{'path'} eq '/var/lib/empty'; # grr
- die("bad path: $kiwisource->{'path'}\n") unless $kiwisource->{'path'} =~ /^obs:\/\/\/?([^\/]+)\/([^\/]+)\/?$/;
+ die("bad path
using not obs:/ URL
: $kiwisource->{'path'}\n") unless $kiwisource->{'path'} =~ /^obs:\/\/\/?([^\/]+)\/([^\/]+)\/?$/;
push @repos, "$1/$2";
}