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:
ef224df
)
if susedata doesn't exist, don't try to use it
author
Dirk Mueller
<dmueller@suse.de>
Sat, 13 Nov 2010 09:26:40 +0000
(10:26 +0100)
committer
Dirk Mueller
<dmueller@suse.de>
Sat, 13 Nov 2010 09:26:40 +0000
(10:26 +0100)
tools/repo2solv.sh
patch
|
blob
|
history
diff --git
a/tools/repo2solv.sh
b/tools/repo2solv.sh
index
e07755e
..
518f700
100755
(executable)
--- a/
tools/repo2solv.sh
+++ b/
tools/repo2solv.sh
@@
-124,8
+124,8
@@
if test "$repotype" = rpmmd ; then
echo
fi
susedataxml=`repomd_findfile susedata susedata.xml`
- if test -f
$susedataxml
; then
- repomd_decompress
$susedataxml
+ if test -f
"$susedataxml"
; then
+ repomd_decompress
"$susedataxml"
fi
echo '</rpmmd>'
) | grep -v '\?xml' | sed '1i\<?xml version="1.0" encoding="UTF-8"?>' | rpmmd2solv $parser_options > $primfile || exit 4