]> Creatis software - creaToolsTools.git/commitdiff
3405 vtk8itk5wx3-macos
authorEduardo DAVILA <davila@iMac-de-Eduardo.local>
Wed, 16 Mar 2022 14:22:12 +0000 (15:22 +0100)
committerEduardo DAVILA <davila@iMac-de-Eduardo.local>
Wed, 16 Mar 2022 14:22:12 +0000 (15:22 +0100)
Linux/scripts/CreaTools-install.sh
Linux/scripts/installmodBash.sh

index fdd401c01398b0af3fd5b313942a7c71eaa0fccc..0ae4d102e2e8085eb331ef70b3aaf4c964b8f67f 100644 (file)
 
 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
+    echo '~/.bashrc' > $generationdir/bbEditor.command
+    echo '~/.bashrc' > $generationdir/bbi.command
+    echo '~/.bashrc' > $generationdir/creaContourApp.command
+    echo '~/.bashrc' > $generationdir/creaDevManager.command
+
+    echo bbEditor >> $generationdir/bbEditor.command
+    echo bbi >> $generationdir/bbi.command
+    echo creaContourApp >> $generationdir/creaContourApp.command
+    echo creaDevManager >> $generationdir/creaDevManager .command
 fi
 
 
index 6362adeb8a6ad1f2c51f5d9e2e5688cedb24d292..50e2aed94d8fe05c67b8c5aa045775983797d6f8 100644 (file)
@@ -36,13 +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 '#'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
+    echo '#'For MacOS                                                                  >> $baseLibraryCreatoolsDir/creatools_base_library_config.sh
+    echo export PATH='$'PATH:'$'installPrefix/bin/bbi.app/Contents/MacOS               >> $baseLibraryCreatoolsDir/creatools_base_library_config.sh
+    echo export PATH='$'PATH:'$'installPrefix/bin/bbEditor.app/Contents/MacOS          >> $baseLibraryCreatoolsDir/creatools_base_library_config.sh
+    echo export PATH='$'PATH:'$'installPrefix/bin/creaDevManager.app/Contents/MacOS    >> $baseLibraryCreatoolsDir/creatools_base_library_config.sh
+    echo 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