From: Eduardo DAVILA Date: Thu, 22 Dec 2016 16:10:22 +0000 (+0100) Subject: #3044 creaToolsTools Bug New Normal - Fedora 24 ThirdParty library conflict with... X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?p=creaToolsTools.git;a=commitdiff_plain;h=47b3fdeddecef4f9cfb25b0acac21a2d86fcc7db #3044 creaToolsTools Bug New Normal - Fedora 24 ThirdParty library conflict with gcc6 --- diff --git a/Linux/scripts/Install-Creatools-Bin.sh b/Linux/scripts/Install-Creatools-Bin.sh index f50fe36..3d569fd 100755 --- a/Linux/scripts/Install-Creatools-Bin.sh +++ b/Linux/scripts/Install-Creatools-Bin.sh @@ -29,8 +29,8 @@ function getDistrib { if [ "$OS" == Darwin ] ; then OS=MacOS; ##EED2016-10-15 -## elif [ "$OS" == Linux ] ; then OS=`awk 'NR==1{print $1}' /etc/system-release` - elif [ "$OS" == Linux ] ; then OS=$(lsb_release -i | awk '{print $3}') +## elif [ "$OS" == Linux ] ; then OS=$(lsb_release -i | awk '{print $3}') + elif [ "$OS" == Linux ] ; then OS=`awk 'NR==1{print $1}' /etc/system-release` else OS="" fi