]> Creatis software - creaToolsTools.git/commitdiff
#2493 creaToolsTools Feature New Normal - Prepare and Install binary CreaTools...
authordavila <eduardo.davila@creatis.insa-lyon.fr>
Mon, 5 Jan 2015 16:39:06 +0000 (17:39 +0100)
committerdavila <eduardo.davila@creatis.insa-lyon.fr>
Mon, 5 Jan 2015 16:39:06 +0000 (17:39 +0100)
Linux/scripts/CreaTools-GenerateBinTGZ.sh

index efcd59afc30eef66cba0a0d3b089b05f4fb70ab0..45fbf5a3f33616be0ab88a41f3542b40375fe6c5 100644 (file)
@@ -38,8 +38,6 @@
      fileTGZ=CreaTools-Release-$creatoolsMajorVersion.$creatoolsMinorVersion.$creatoolsBuildVersion-`getDistrib`-`getDistribVersion`.tgz
 
      tar -cvzf $fileTGZ creatools_install thirdparty_install
-         echo ---------
-     echo        scp $fileTGZ tux.creatis.insa-lyon.fr:creatools/creaTools/v$creatoolsMajorVersion.$creatoolsMinorVersion.x/$fileTGZ 
 
          scp $fileTGZ tux.creatis.insa-lyon.fr:creatools/creaTools/v$creatoolsMajorVersion.$creatoolsMinorVersion.x/$fileTGZ 
 
          echo "## Generated by CreaTools-GeneratedBinTGZ.sh" >> creatools-Linux-BinVersion.sh
          echo "##" >> creatools-Linux-BinVersion.sh
 
-         echo "wget http://www.creatis.insa-lyon.fr/software/public/creatools/creaTools/v$creatoolsMajorVersion.$creatoolsMinorVersion.x/$fileTGZ" >> creatools-DownloadLastVersion.sh 
+         echo "wget http://www.creatis.insa-lyon.fr/software/public/creatools/creaTools/v$creatoolsMajorVersion.$creatoolsMinorVersion.x/$fileTGZ" >> creatools-Linux-BinVersion.sh 
          echo "tar -xvzf $fileTGZ" >>  creatools-Linux-BinVersion.sh
 
 
      echo "source creatools_install/share/creatools/LocalFunctions.sh"  >>  creatools-Linux-BinVersion.sh
      echo "ETC_BASHRC=\`getbashrc\`" >>  creatools-Linux-BinVersion.sh
-     echo "installPrefix=$(pwd)/creatools_install" >>  creatools-Linux-BinVersion.sh
-     echo "installPrefixThird=$(pwd)/thirdparty_install" >>  creatools-Linux-BinVersion.sh
-     echo "OperatingSystem=\`getDistrib\`" >>  creatools-Linux-BinVersion.sh
+     echo "installPrefix=$(pwd)/creatools_install #You need this variable in the -barshrc script" >>  creatools-Linux-BinVersion.sh
+     echo "installPrefixThird=$(pwd)/thirdparty_install #You need this variable in the -barshrc script" >>  creatools-Linux-BinVersion.sh
+     echo "OperatingSystem=\`getDistrib\`  #You need this variable in the Base-Stuff script" >>  creatools-Linux-BinVersion.sh
 
-     echo "source thirdparty_install/share/creatools/ThirdParty-install-Base-Stuff.sh $OperatingSystem"  >>  creatools-Linux-BinVersion.sh
+
+     echo "cd thirdparty_install/share/creatools/"  >>  creatools-Linux-BinVersion.sh
+     echo "ThirdParty-install-Base-Stuff.sh $OperatingSystem"  >>  creatools-Linux-BinVersion.sh
+     echo "cd ../../.."  >>  creatools-Linux-BinVersion.sh
      echo "source thirdparty_install/share/creatools/ThirdParty-bashrc.sh"  >>  creatools-Linux-BinVersion.sh
      echo "source creatools_install/share/creatools/CreaTools-bashrc.sh"  >>  creatools-Linux-BinVersion.sh