]> Creatis software - creaToolsTools.git/commitdiff
3405 vtk8itk5wx3-macos
authorEduardo DAVILA <davila@dhcp-7.b401.creatis.insa-lyon.fr>
Fri, 25 Mar 2022 14:59:41 +0000 (15:59 +0100)
committerEduardo DAVILA <davila@dhcp-7.b401.creatis.insa-lyon.fr>
Fri, 25 Mar 2022 14:59:41 +0000 (15:59 +0100)
Linux/scripts/CreaTools-install.sh

index 0ae4d102e2e8085eb331ef70b3aaf4c964b8f67f..93c30362eb5ff56d696e15999c9e1704722de59d 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 'source ~/.bashrc' > $generationdir/bbEditor.command
+    echo 'source ~/.bashrc' > $generationdir/bbi.command
+    echo 'source ~/.bashrc' > $generationdir/creaContourApp.command
+    echo 'source ~/.bashrc' > $generationdir/creaDevManager.command
 
     echo bbEditor >> $generationdir/bbEditor.command
     echo bbi >> $generationdir/bbi.command
     echo creaContourApp >> $generationdir/creaContourApp.command
     echo creaDevManager >> $generationdir/creaDevManager .command
+    
+    chmod u+x bbEditor.command
+    chmod u+x bbi.command
+    chmod u+x creaContourApp.command
+    chmod u+x creaDevManager.command
 fi