setup-dchroot: fix SUITE_ARCH detection for jessie kfreebsd chroots
authorJames Clarke <jrtc27@debian.org>
Sun, 23 Apr 2017 13:10:57 +0000 (14:10 +0100)
committerAurelien Jarno <aurelien@aurel32.net>
Tue, 25 Apr 2017 06:40:30 +0000 (08:40 +0200)
modules/schroot/files/setup-dchroot

index e63d723..e727138 100755 (executable)
@@ -89,6 +89,7 @@ genschrootconf() {
         local name="${suite}_${arch}-dchroot"
     fi
 
+    local fullname="$name"
     case "$arch" in
         kfreebsd-*)
             aliases="$name"
@@ -101,7 +102,7 @@ genschrootconf() {
 
 cat << EOF
 [${name}]
-description=[${name}] Debian $suite chroot for $arch
+description=[${fullname}] Debian $suite chroot for $arch
 type=file
 file=$target
 EOF