X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=build.common;h=350f662c12e9d00a9f887736de67eef5a7993fcd;hb=776b7a3eca5500304f17e7e2025eb951f8ac849d;hp=071a96580edb1bfce4721cad8fed7d87c878614a;hpb=e5b6b489890388a37fb0cbedb349dd6b65b46a6d;p=build.git diff --git a/build.common b/build.common index 071a9658..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 ;;