From 9d7595d8bf0a63d6ec927793120d97c671e97193 Mon Sep 17 00:00:00 2001 From: Dirk Mueller Date: Sat, 13 Nov 2010 10:26:40 +0100 Subject: [PATCH] if susedata doesn't exist, don't try to use it --- tools/repo2solv.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tools/repo2solv.sh b/tools/repo2solv.sh index e07755ed..518f7001 100755 --- 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 '' ) | grep -v '\?xml' | sed '1i\' | rpmmd2solv $parser_options > $primfile || exit 4 -- 2.47.3