]> Creatis software - creaToolsTools.git/commitdiff
vtk8itk5wx3-macos
authorEduardo DAVILA <davila@dhcp-16.b401.creatis.insa-lyon.fr>
Mon, 14 Mar 2022 13:24:08 +0000 (14:24 +0100)
committerEduardo DAVILA <davila@dhcp-16.b401.creatis.insa-lyon.fr>
Mon, 14 Mar 2022 13:24:08 +0000 (14:24 +0100)
Linux/scripts/CreaTools-install.sh
Linux/scripts/installmodBash.sh

index 33af6db1173f3f9d50d3e7d0fadeeca9d2122eeb..fdd401c01398b0af3fd5b313942a7c71eaa0fccc 100644 (file)
   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"
index 5cfef5c0ba86b6b823ffab57464c2707eed57bb8..6362adeb8a6ad1f2c51f5d9e2e5688cedb24d292 100644 (file)
@@ -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