From: Leonardo Florez Date: Wed, 8 Nov 2017 21:19:06 +0000 (-0500) Subject: ... X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=commitdiff_plain;h=321c322fdc2bc6f04c6b078d6ceb925a307a7a4a;p=cpPlugins.git ... --- diff --git a/config/install_ivq.sh b/config/install_ivq.sh index 80dfd92..116d95d 100755 --- a/config/install_ivq.sh +++ b/config/install_ivq.sh @@ -32,8 +32,8 @@ download( ) if [ ! -f $sum ] ; then echo >&2 "*** Receiving $url ***" curl -L -o $file $url - if [ -n "$sum_cmd" ] && [ -f $file ] ; then - $sum_cmd $file > $sum + if [ -f $file ] ; then + touch $sum fi fi } @@ -57,24 +57,6 @@ if [[ "$platform" == 'Darwin' ]]; then qt5extras_id="mac" fi -## -- Get best checksum command -sum_cmd=`command -v sha512sum` -if [ -z "$sum_cmd" ] ; then - sum_cmd=`command -v sha384sum` -fi -if [ -z "$sum_cmd" ] ; then - sum_cmd=`command -v sha256sum` -fi -if [ -z "$sum_cmd" ] ; then - sum_cmd=`command -v sha224sum` -fi -if [ -z "$sum_cmd" ] ; then - sum_cmd=`command -v sha1sum` -fi -if [ -z "$sum_cmd" ] ; then - sum_cmd=`command -v md5sum` -fi - ## -- Download information boost_url="https://downloads.sourceforge.net/project/boost/boost/$boost_version/boost_`echo $boost_version | sed 's/\./\_/g'`.tar.bz2" qt5_short_version=`echo $qt5_version | sed 's/\.[^.]*$//'`