From: Silvio Rhatto Date: Thu, 13 Feb 2014 15:33:26 +0000 (-0200) Subject: Minor fix at debian-dl X-Git-Url: https://gitweb.fluxo.info/?a=commitdiff_plain;h=11fe0853ee6d829761847c673168066f9d560d83;p=scripts.git Minor fix at debian-dl --- diff --git a/debian-dl b/debian-dl index ea25be2..6a3fe77 100755 --- a/debian-dl +++ b/debian-dl @@ -36,7 +36,7 @@ wget -c $LIMIT $URL # Check hashes for hash in $HASHES; do echo "Checking $FILENAME against $hash file..." - check="`echo $hash | tr '[:upper:]' '[:lower:]' | sed -e 's/s$//'`sum" + check="`echo $hash | tr '[:upper:]' '[:lower:]' | sed -e 's/s$//'`" grep -e "$FILENAME$" $hash | $check -c done