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:
fd0af4a
)
- add two missing test statements
author
Michael Schroeder
<mls@suse.de>
Wed, 15 Oct 2008 14:52:18 +0000
(14:52 +0000)
committer
Michael Schroeder
<mls@suse.de>
Wed, 15 Oct 2008 14:52:18 +0000
(14:52 +0000)
tools/repo2solv.sh
patch
|
blob
|
history
diff --git
a/tools/repo2solv.sh
b/tools/repo2solv.sh
index 3ef0c1f5deff7d6d57bb4331f358289d9c7da7b0..aec9948418e2fed21153d153191d8b73cdbcbc0b 100755
(executable)
--- a/
tools/repo2solv.sh
+++ b/
tools/repo2solv.sh
@@
-143,6
+143,7
@@
if test -d repodata ; then
# This contains a updateinfo.xml* and maybe patches
cmd=
for i in updateinfo.xml*; do
+ test -s "$i" || continue
case $i in
*.gz) cmd="gzip -dc" ;;
*.bz2) cmd="bzip2 -dc" ;;
@@
-177,6
+178,7
@@
if test -d repodata ; then
# This contains a deltainfo.xml*
cmd=
for i in deltainfo.xml*; do
+ test -s "$i" || continue
case $i in
*.gz) cmd="gzip -dc" ;;
*.bz2) cmd="bzip2 -dc" ;;