echo "##" >> $filename_BinVersion
cat creatools_install/share/creatools/Version.sh >> $filename_BinVersion
- cat creatools_install/share/creatools/LocalFunctions.sh >> $filename_BinVersion
+ cat $scriptDir/LocalFunctions.sh >> $filename_BinVersion
echo "\`getDownloadCommand\` http://www.creatis.insa-lyon.fr/software/public/creatools/creaTools/v\$creatoolsMajorVersion.\$creatoolsMinorVersion.x/$fileTGZstring.tgz" >> $filename_BinVersion
echo "tar -xvzf $fileTGZstring.tgz" >> $filename_BinVersion
local DISTRIB=`getDistrib`
if [ "$DISTRIB" == MacOS ] ; then downloadCommand=curl;
- elif [ "$DISTRIB" == Fedora ] ; then downloadCommand=aria -x 16
+ elif [ "$DISTRIB" == Fedora ] ; then downloadCommand='aria2c -x 16'
elif [ "$DISTRIB" == Ubuntu ] ; then downloadCommand=wget
else downloadCommand="VOID_EED"
fi