MODE=porterbox
fi
+if [ -t 0 ] ; then
+ SILENT=""
+else
+ SILENT="chronic"
+fi
+
get_suites() {
case "$1" in
amd64|i386|armel|armhf)
case "$MODE" in
buildd)
mkdir -p /srv/buildd/unpack
- if ! chronic setup-dchroot -f -a "$a" $extra -D -d '/srv/buildd/unpack' -K "$s"
+ if ! $SILENT setup-dchroot -f -a "$a" $extra -D -d '/srv/buildd/unpack' -K "$s"
then
return 1
fi
;;
porterbox)
- if ! chronic setup-dchroot -f -a "$a" $extra "$s"
+ if ! $SILENT setup-dchroot -f -a "$a" $extra "$s"
then
return 1
fi