]> Creatis software - creaToolsTools.git/commitdiff
#3458 bashrc conflict linux 40 41
authoreduardo.davila@creatis.insa-lyon.fr <eduardo.davila@creatis.insa-lyon.fr>
Tue, 3 Dec 2024 09:51:32 +0000 (10:51 +0100)
committereduardo.davila@creatis.insa-lyon.fr <eduardo.davila@creatis.insa-lyon.fr>
Tue, 3 Dec 2024 09:51:32 +0000 (10:51 +0100)
Linux/scripts/CreaTools-install.sh
Linux/scripts/CreaTools-uninstall.sh
Linux/scripts/TPLaux-bashrc.sh
Linux/scripts/ThirdParty-bashrc.sh

index f605985..7bed640 100644 (file)
 
 if [ $OperatingSystem = "MacOS" ]
 then
-    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 'source ~/.bashrc_CreaTools' > $generationdir/bbEditor.command
+    echo 'source ~/.bashrc_CreaTools' > $generationdir/bbi.command
+    echo 'source ~/.bashrc_CreaTools' > $generationdir/creaContourApp.command
+    echo 'source ~/.bashrc_CreaTools' > $generationdir/creaDevManager.command
 
     echo bbEditor >> $generationdir/bbEditor.command
     echo bbi >> $generationdir/bbi.command
index 815bba7..723a0f2 100644 (file)
@@ -113,8 +113,8 @@ echo "rm lib's"
   # - remove line 'bash $installPrefix/creatools_install/share/creatools_base_party_libraries_config.sh'
   #sed -i -e '/.*creatools_base_library_config.*/ d' $ETC_BASHRC 
   
-echo "revert $HOME/.bashrc to previous value"  
-sed -i -e '/.*creatools_base_library_config.*/ d' $HOME/.bashrc
+echo "revert $HOME/.bashrc_CreaTools to previous value"  
+sed -i -e '/.*creatools_base_library_config.*/ d' $HOME/.bashrc_CreaTools
 
 #else
 #  echo
index 7ac39b9..25c8ddf 100644 (file)
@@ -28,7 +28,7 @@ echo "---TPLaux-bashrc.sh---"
 echo $ETC_BASHRC
 echo "installPrefixTPLaux: " $installPrefixTPLaux
 
-# Cleanning  line in .bashrc file
+# Cleanning  line in .bashrc_CreaTools file
 sed -i -e '/.*installPrefixTPLaux*/ d' $ETC_BASHRC
 sed -i -e '/.*creatools_TPLaux_config.*/ d' $ETC_BASHRC
 
index c789a97..371f475 100644 (file)
@@ -28,7 +28,7 @@ echo "---ThirdParty-bashrc.sh---"
 echo $ETC_BASHRC
 echo $installPrefixThird
 
-# Cleanning  line in .bashrc file
+# Cleanning  line in .bashrc_CreaTools file
 sed -i -e '/.*installPrefixThird*/ d' $ETC_BASHRC
 sed -i -e '/.*creatools_third_party_library_config.*/ d' $ETC_BASHRC