From: Eduardo DAVILA Date: Mon, 14 Mar 2022 13:24:08 +0000 (+0100) Subject: vtk8itk5wx3-macos X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=commitdiff_plain;h=6b0a0b6844ec17cc933e28d5b65fc712ed564f59;p=creaToolsTools.git vtk8itk5wx3-macos --- diff --git a/Linux/scripts/CreaTools-install.sh b/Linux/scripts/CreaTools-install.sh index 33af6db..fdd401c 100644 --- a/Linux/scripts/CreaTools-install.sh +++ b/Linux/scripts/CreaTools-install.sh @@ -97,6 +97,20 @@ source CreaTools-bashrc.sh source $ETC_BASHRC + +if [ $OperatingSystem = "MacOS" ] +then + echo '~/.bashrc' > $generationdir bbEditor.command + echo '~/.bashrc' > $generationdir bbi.command + echo '~/.bashrc' > $generationdir creaContourApp.command + echo '~/.bashrc' > $generationdir creaDevManager.command + echo bbEditor >> $generationdir bbi.command + echo bbi >> $generationdir bbi.command + echo creaContourApp >> $generationdir creaContourApp.command + echo creaDevManager >> creaDevManager $generationdir .command +fi + + ##EED 21/12/2014 ##EED echo "===================================================" ##EED echo " Regenerate Package doc" diff --git a/Linux/scripts/installmodBash.sh b/Linux/scripts/installmodBash.sh index 5cfef5c..6362ade 100644 --- a/Linux/scripts/installmodBash.sh +++ b/Linux/scripts/installmodBash.sh @@ -36,7 +36,13 @@ echo installPrefix='$1' >> $baseLibraryCreatoolsDir/creatools_base_library_con echo export PATH='$'PATH:'$'installPrefix/bin >> $baseLibraryCreatoolsDir/creatools_base_library_config.sh if [ $OperatingSystem = "MacOS" ] then - echo export DYLD_LIBRARY_PATH='$'DYLD_LIBRARY_PATH:'$'installPrefix/lib/creatools >> $baseLibraryCreatoolsDir/creatools_base_library_config.sh + echo '#'Form MacOS >> $baseLibraryCreatoolsDir/creatools_base_library_config.sh + export PATH='$'PATH:'$'installPrefix/bin/bbi.app/Contents/MacOS >> $baseLibraryCreatoolsDir/creatools_base_library_config.sh + export PATH='$'PATH:'$'installPrefix/bin/bbEditor.app/Contents/MacOS >> $baseLibraryCreatoolsDir/creatools_base_library_config.sh + export PATH='$'PATH:'$'installPrefix/bin/creaDevManager.app/Contents/MacOS >> $baseLibraryCreatoolsDir/creatools_base_library_config.sh + export PATH='$'PATH:'$'installPrefix/bin/creaContourApp.app/Contents/MacOS >> $baseLibraryCreatoolsDir/creatools_base_library_config.sh + echo export DYLD_LIBRARY_PATH='$'DYLD_LIBRARY_PATH:'$'installPrefix/lib/creatools >> $baseLibraryCreatoolsDir/creatools_base_library_config.sh + echo ' ' >> $baseLibraryCreatoolsDir/creatools_base_library_config.sh else echo export LD_LIBRARY_PATH='$'LD_LIBRARY_PATH:'$'installPrefix/lib/creatools >> $baseLibraryCreatoolsDir/creatools_base_library_config.sh echo export LD_LIBRARY_PATH='$'LD_LIBRARY_PATH:'$'installPrefix/lib64/creatools >> $baseLibraryCreatoolsDir/creatools_base_library_config.sh