start_new_disc: fix a quoting bug

That bug led to a failure when CODENAME is kali-last-snapshot.
This commit is contained in:
Raphaël Hertzog 2020-01-10 12:04:12 +01:00
parent 7266d6ad27
commit 6fb756b288
No known key found for this signature in database
GPG Key ID: 03881DABEBC29AB9
2 changed files with 5 additions and 1 deletions

4
debian/changelog vendored
View File

@ -19,6 +19,10 @@ debian-cd (3.1.28) UNRELEASED; urgency=medium
* Add missing export keyword for ARCHIVE_KEYRING_FILE and * Add missing export keyword for ARCHIVE_KEYRING_FILE and
ARCHIVE_KEYRING_PACKAGE variables in CONF.sh. ARCHIVE_KEYRING_PACKAGE variables in CONF.sh.
[ Raphaël Hertzog ]
* Fix a quoting bug that leads to failure in start_new_disc
when CODENAME is kali-last-snapshot.
-- Holger Levsen <holger@debian.org> Wed, 23 Oct 2019 18:06:41 +0200 -- Holger Levsen <holger@debian.org> Wed, 23 Oct 2019 18:06:41 +0200
debian-cd (3.1.27) unstable; urgency=medium debian-cd (3.1.27) unstable; urgency=medium

View File

@ -22,7 +22,7 @@ CDDIR=$BDIR/CD${DISKNUM}
DATE=`cat $BDIR/DATE` DATE=`cat $BDIR/DATE`
DI_DATA_DIR=$BASEDIR/data/$DI_CODENAME DI_DATA_DIR=$BASEDIR/data/$DI_CODENAME
CAPCODENAME=`perl -e "print ucfirst("$CODENAME")"` CAPCODENAME=`perl -e "print ucfirst('$CODENAME')"`
NUM_ARCHES=`echo $ARCHES | wc -w` NUM_ARCHES=`echo $ARCHES | wc -w`
case "$ARCHES" in case "$ARCHES" in