From 0e3fb707f53d363164b58b8fb86115a5d9de5c02 Mon Sep 17 00:00:00 2001 From: davila Date: Thu, 8 Jan 2015 15:30:28 +0100 Subject: [PATCH] #2493 creaToolsTools Feature New Normal - Prepare and Install binary CreaTools version - Linux --- Linux/scripts/Install-Creatools-Bin.sh | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/Linux/scripts/Install-Creatools-Bin.sh b/Linux/scripts/Install-Creatools-Bin.sh index 9c00c6d..cdcf591 100755 --- a/Linux/scripts/Install-Creatools-Bin.sh +++ b/Linux/scripts/Install-Creatools-Bin.sh @@ -50,10 +50,11 @@ function getDistribVersion { echo $OSVersion } +CREATOOLSBINDIR=Creatools-Bin-`getDistrib`-`getDistribVersion` -rm -rf Creatools -mkdir Creatools -cd Creatools +rm -rf $CREATOOLSBINDIR +mkdir $CREATOOLSBINDIR +cd $CREATOOLSBINDIR wget http://www.creatis.insa-lyon.fr/software/public/creatools/creaTools/creatools-Linux-BinVersion-`getDistrib`-`getDistribVersion`.sh source creatools-Linux-BinVersion-`getDistrib`-`getDistribVersion`.sh cd .. -- 2.47.1