]> Creatis software - creaToolsTools.git/commitdiff
#2493 creaToolsTools Feature New Normal - Prepare and Install binary CreaTools...
authordavila <eduardo.davila@creatis.insa-lyon.fr>
Thu, 8 Jan 2015 14:30:28 +0000 (15:30 +0100)
committerdavila <eduardo.davila@creatis.insa-lyon.fr>
Thu, 8 Jan 2015 14:30:28 +0000 (15:30 +0100)
Linux/scripts/Install-Creatools-Bin.sh

index 9c00c6dea539971fa54e6fd5963c40e9a4dd695d..cdcf5915e47caa035faa89bada3789f7ffe4eae6 100755 (executable)
@@ -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 ..