projects
/
platform
/
upstream
/
libsolv.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d42cdfd
)
- remove 'echo <products>' for repodata products, which seems to just break things...
author
Michael Schroeder
<mls@suse.de>
Tue, 7 Feb 2012 12:05:16 +0000
(13:05 +0100)
committer
Michael Schroeder
<mls@suse.de>
Tue, 7 Feb 2012 12:05:16 +0000
(13:05 +0100)
tools/repo2solv.sh
patch
|
blob
|
history
diff --git
a/tools/repo2solv.sh
b/tools/repo2solv.sh
index
db1052c
..
3f24e17
100755
(executable)
--- a/
tools/repo2solv.sh
+++ b/
tools/repo2solv.sh
@@
-139,12
+139,8
@@
if test "$repotype" = rpmmd ; then
prodxml=`repomd_findfile product product.xml`
fi
if test -n "$prodxml" -a -s "$prodxml" ; then
- prodfile=`mktemp` || exit 3
- (
- echo '<products>'
- repomd_decompress "$prodxml"
- echo '</products>'
- ) | grep -v '\?xml' | rpmmd2solv $parser_options > $prodfile || exit 4
+ prodfile=`mktemp` || exit 3
+ repomd_decompress "$prodxml" | rpmmd2solv $parser_options > $prodfile || exit 4
fi
patternfile=