]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
FS-7019 full list of distributions to target based on distribution autodetection
authorSteven Ayre <steveayre@gmail.com>
Fri, 21 Nov 2014 01:28:38 +0000 (01:28 +0000)
committerSteven Ayre <steven.ayre@voxygen.co.uk>
Fri, 21 Nov 2014 17:57:09 +0000 (17:57 +0000)
debian/util.sh

index a7cb4dc400833c044f388d3336cd6f2b727fe0e9..3e42ab90e956d8e3612d6bc955866b2a20eea38a 100755 (executable)
@@ -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