[zypp-commit] r11366 - /trunk/sat-solver/tools/repo2solv.sh
Author: mlschroe Date: Wed Oct 15 16:52:18 2008 New Revision: 11366 URL: http://svn.opensuse.org/viewcvs/zypp?rev=11366&view=rev Log: - add two missing test statements Modified: trunk/sat-solver/tools/repo2solv.sh Modified: trunk/sat-solver/tools/repo2solv.sh URL: http://svn.opensuse.org/viewcvs/zypp/trunk/sat-solver/tools/repo2solv.sh?rev=11366&r1=11365&r2=11366&view=diff ============================================================================== --- trunk/sat-solver/tools/repo2solv.sh (original) +++ trunk/sat-solver/tools/repo2solv.sh Wed Oct 15 16:52:18 2008 @@ -143,6 +143,7 @@ # 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 @@ # 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" ;; -- To unsubscribe, e-mail: zypp-commit+unsubscribe@opensuse.org For additional commands, e-mail: zypp-commit+help@opensuse.org
participants (1)
-
mlschroe@svn.opensuse.org