From e2e07fb5d198954413febded04915426111690b7 Mon Sep 17 00:00:00 2001 From: davila Date: Mon, 5 Jan 2015 17:39:06 +0100 Subject: [PATCH] #2493 creaToolsTools Feature New Normal - Prepare and Install binary CreaTools version - Linux --- Linux/scripts/CreaTools-GenerateBinTGZ.sh | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/Linux/scripts/CreaTools-GenerateBinTGZ.sh b/Linux/scripts/CreaTools-GenerateBinTGZ.sh index efcd59a..45fbf5a 100644 --- a/Linux/scripts/CreaTools-GenerateBinTGZ.sh +++ b/Linux/scripts/CreaTools-GenerateBinTGZ.sh @@ -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 @@ -47,17 +45,20 @@ 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 -- 2.47.1