From: Martin Pitt Date: Wed, 21 Feb 2007 13:27:35 +0000 (+0100) Subject: uup: do not try to read over keys below the file list X-Git-Url: https://piware.de/gitweb/?p=bin.git;a=commitdiff_plain;h=95efe08c7a8f14ed782a95addd40a313bb47dee9 uup: do not try to read over keys below the file list --- diff --git a/uup b/uup index 1fca44a..62e2afe 100755 --- a/uup +++ b/uup @@ -23,7 +23,7 @@ done count=0 while true; do read -u 3 md5sum size section priority fname - if [ -z "$fname" ]; then break; fi + if [ -z "$fname" ] || echo "$md5sum" | grep -q :; then break; fi files[$count]="$fname" ((count=count+1)) done