X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=Linux%2Finstallscript;h=4823c0227badd9a1d5e2d5d58eb9f5605343cb04;hb=dbc17ccf7ebbbea53ee77802ea1c8667c01f8d9b;hp=8f9ae93b93e8eb73374a896621139a1eec0687f6;hpb=6d26f492da9eea9c4c53600995316af84cca6c1d;p=creaToolsTools.git diff --git a/Linux/installscript b/Linux/installscript index 8f9ae93..4823c02 100755 --- a/Linux/installscript +++ b/Linux/installscript @@ -23,6 +23,8 @@ #!/bin/bash -e +scriptDirName=$(dirname $(readlink -f $0) ) + ######################################################################### ############ Local Functions ####################################### ######################################################################### @@ -347,16 +349,19 @@ if [ `checkVal $command all 3rd 3rd-base` == true ] ; then fi + # vtk if [ `checkVal $command all 3rd 3rd-vtk` == true ] ; then bigDisplay "INSTALL VTK" - bash scripts/ThirdParty-install-VTK.sh + source scripts/ThirdParty-install-VTK.sh + cd $scriptDirName fi # gdcm if [ `checkVal $command all 3rd 3rd-gdcm` == true ] ; then bigDisplay "INSTALL $gdcmVersion" - bash scripts/ThirdParty-install-gdcm.sh + source scripts/ThirdParty-install-gdcm.sh + cd $scriptDirName fi # itk