Fix bashism in tools/grab_md5. Closes: #489562
This commit is contained in:
parent
71039d6ead
commit
03305d23f2
|
@ -57,6 +57,7 @@ debian-cd (3.0.5) UNRELEASED; urgency=low
|
|||
.zip files containing non-free firmware and microcode packages.
|
||||
* Add support for dual-layer DVD, Blu-Ray and dual-layer Blu-Ray
|
||||
discs. Nothing special, just extra sizes recognised.
|
||||
* Fix bashism in tools/grab_md5. Closes: #489562
|
||||
|
||||
-- Frans Pop <fjp@debian.org> Fri, 06 Jun 2008 22:32:06 +0200
|
||||
|
||||
|
|
|
@ -22,7 +22,8 @@ do
|
|||
case $ARCH in
|
||||
source)
|
||||
FILES=`find $LOCATIONS -name Sources.gz`
|
||||
echo -e "Using MD5 sums from Sources files:\n$FILES"
|
||||
echo "Using MD5 sums from Sources files:"
|
||||
echo $FILES
|
||||
zcat -f $FILES | awk -v MIRROR=$MIRROR '
|
||||
/^Directory:/ {
|
||||
DIR = $2
|
||||
|
@ -50,7 +51,8 @@ do
|
|||
;;
|
||||
alpha|amd64|arm|armel|hppa|i386|ia64|m68k|mips|mipsel|powerpc|s390|sparc)
|
||||
FILES=`find $LOCATIONS -name Packages.gz | grep binary-$ARCH`
|
||||
echo -e "Using MD5 sums from Packages files:\n$FILES"
|
||||
echo "Using MD5 sums from Packages files:"
|
||||
echo $FILES
|
||||
zcat -f $FILES | awk -v MIRROR=$MIRROR '
|
||||
/^Filename:/ {
|
||||
FILE = $2
|
||||
|
|
Loading…
Reference in New Issue