X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=build.common;h=350f662c12e9d00a9f887736de67eef5a7993fcd;hb=3c02377cfab8cfd443f6e60f9f97250c9b264679;hp=b248986c73296e8435e899bc37e2b8b321d82952;hpb=8bb93331419a8cbac3850d205f9939bfd6f5a26f;p=build.git diff --git a/build.common b/build.common index b248986c..350f662c 100644 --- a/build.common +++ b/build.common @@ -20,7 +20,7 @@ function pl_getDistro() { case $distro in Scientific*) distro="SL" ; esac elif [ -f /etc/lsb-release ] ; then . /etc/lsb-release - echo $DISTRIB_CODENAME + distro=$DISTRIB_CODENAME elif [ -f /etc/debian_version ] ; then case $(cat /etc/debian_version) in 6.*) distro=squeeze ;; @@ -66,7 +66,7 @@ function pl_getReleaseName () { [Ss]L*) releasename=sl$release ;; - squeeze|wheezy|jessie|oneiric|precise|quantal|raring|saucy) + squeeze|wheezy|jessie|oneiric|precise|quantal|raring|saucy|trusty) releasename=$distro ;; *)