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