local name="${suite}_${arch}-dchroot"
fi
+ local fullname="$name"
case "$arch" in
kfreebsd-*)
aliases="$name"
cat << EOF
[${name}]
-description=[${name}] Debian $suite chroot for $arch
+description=[${fullname}] Debian $suite chroot for $arch
type=file
file=$target
EOF
fi
done
fi
-[ -d "$basedir" ] || mkdir -p "$basedir"
+[ -d "$basedir" ] || die "Error: $basedir does not exist (or is not a directory)."
[ -d "$builddir" ] || die "Error: $builddir does not exist (or is not a directory)."
target="$basedir/$tuple.tar.gz"
cleanup+=("rm -f $tartmp")
(
cd "$rootdir"
+ chmod 0755 "$rootdir"
tar caf "$tartmp" .
if ! [ -z "$keep" ]; then
savelog -l -c 4 "$target"