Fix counting of images at build time

Closes: #1063858
This commit is contained in:
Steve McIntyre 2024-02-15 01:42:12 +00:00
parent 87459d5964
commit 64c59791cf
2 changed files with 2 additions and 3 deletions

1
debian/changelog vendored
View File

@ -9,6 +9,7 @@ debian-cd (3.2.2) UNRELEASED; urgency=medium
* Tweak sizes slightly for BD media.
* Look for firmware in /usr/lib/firmware as well as /lib/firmware.
Closes: #1059858
* Fix counting of images at build time. Closes: #1063858
[ Guido Berhoerster ]
* Update DebianEdu installer banner and syslinux splash image

View File

@ -19,13 +19,11 @@ NUM_ARCHES=`echo $ARCHES | wc -w`
if [ "$CD"x = ""x ] ; then
echo "Generating the $ARCHES iso/jigdo images ..."
FILES=$DIR/*.volid
else
echo "Generating $ARCHES iso/jigdo image number $CD ..."
FILES=$DIR/$CD.volid
fi
NUM_CDS=`ls -1 $FILES | wc -l`
NUM_CDS=$(ls -1 $DIR/*.volid | wc -l)
last_minute_update () {
echo " Last-minute updates:"