From 2f8886a7560d88367654a01f5df30180352aec76 Mon Sep 17 00:00:00 2001 From: Eduardo DAVILA Date: Tue, 10 Jan 2017 11:30:25 +0100 Subject: [PATCH] #3053 creaToolsTools Bug New Normal - GeneratyBinTgz creatools_install thirdpary_install conflict --- Linux/scripts/CreaTools-GenerateBinTGZ.sh | 26 ++++++++++++++++------- 1 file changed, 18 insertions(+), 8 deletions(-) diff --git a/Linux/scripts/CreaTools-GenerateBinTGZ.sh b/Linux/scripts/CreaTools-GenerateBinTGZ.sh index 0a96182..af8b84b 100644 --- a/Linux/scripts/CreaTools-GenerateBinTGZ.sh +++ b/Linux/scripts/CreaTools-GenerateBinTGZ.sh @@ -37,16 +37,26 @@ if [ -e $generationdir ] then - cd $generationdir - source creatools_install/share/creatools/Version.sh - distanceAdress=davila@tux.creatis.insa-lyon.fr:creatools/creaTools/v$creatoolsMajorVersion.$creatoolsMinorVersion.x/ -echo distanceAdress: -echo $distanceAdress + echo generationdir: + echo $generationdir + cd $generationdir + mkdir GenerateBinTGZ + cd GenerateBinTGZ - fileTGZ=CreaTools-Bin-Release-$creatoolsMajorVersion.$creatoolsMinorVersion.$creatoolsBuildVersion-`getDistrib`-`getDistribVersion`.tgz - fileTGZstring=CreaTools-Bin-Release-\$creatoolsMajorVersion.\$creatoolsMinorVersion.\$creatoolsBuildVersion-\`getDistrib\`-\`getDistribVersion\` + ln -s $installPrefix creatools_install + ln -s $installPrefixThird thirdparty_install + + source creatools_install/share/creatools/Version.sh + distanceAdress=davila@tux.creatis.insa-lyon.fr:creatools/creaTools/v$creatoolsMajorVersion.$creatoolsMinorVersion.x/ + + fileTGZ=CreaTools-Bin-Release-$creatoolsMajorVersion.$creatoolsMinorVersion.$creatoolsBuildVersion-`getDistrib`-`getDistribVersion`.tgz + fileTGZstring=CreaTools-Bin-Release-\$creatoolsMajorVersion.\$creatoolsMinorVersion.\$creatoolsBuildVersion-\`getDistrib\`-\`getDistribVersion\` + + tar -cvzf $fileTGZ creatools_install/* thirdparty_install/* + + rm creatools_install + rm thirdparty_install - tar -cvzf $fileTGZ creatools_install thirdparty_install scp $fileTGZ $distanceAdress/$fileTGZ filename_BinVersion=creatools-Linux-Bin-$creatoolsMajorVersion.$creatoolsMinorVersion.$creatoolsBuildVersion.sh -- 2.47.1