FS-7019 full list of distributions to target based on distribution autodetection

This commit is contained in:
Steven Ayre authored and Ken Rice committed 2014-12-24 10:40:01 -06:00
1 parent 9d1c252614
commit 378686cf9d
1 file changed
+10 -1
+10 -1
View File
@@ -385,7 +385,16 @@ build_all () {
done
shift $(($OPTIND-1))
[ -n "$archs" ] || archs="amd64 i386"
[ -n "$distros" ] || distros="sid jessie wheezy"
if [ -z "$distros" ]; then
case "$(lsb_release -is)" in
Ubuntu)
distros="utopic trusty"
;;
*) # default to assuming Debian
distros="sid jessie wheezy"
;;
esac
fi
! $depinst || aptitude install -y \
rsync git less cowbuilder ccache \
devscripts equivs build-essential