]> Creatis software - creaToolsTools.git/commitdiff
#3455 bug Mac Install
authoreduardo.davila@creatis.insa-lyon.fr <eduardo.davila@creatis.insa-lyon.fr>
Thu, 19 Oct 2023 09:29:59 +0000 (11:29 +0200)
committereduardo.davila@creatis.insa-lyon.fr <eduardo.davila@creatis.insa-lyon.fr>
Thu, 19 Oct 2023 09:29:59 +0000 (11:29 +0200)
Linux/scripts/CreaTools-install.sh
Linux/scripts/installmod.sh

index 3100decb84f23c31c596e4c7393390a5f0cc81dc..8e0be1ffd011c910aa38652e1210514f45549ae3 100644 (file)
  
   if [ -e $generationdir ]
   then
-     if [ ! -e $generationdir/creatools_install ]
-     then
-       mkdir -p $generationdir/creatools_install
-     fi
+#     if [ ! -e $generationdir/creatools_install ]
+#     then
+#      mkdir -p $generationdir/creatools_install
+#     fi
   else
    echo
    echo "..ERROR.."
index a1db560884b6cc26ecaa7491663db8396c6d22c2..d2f86303835573752b66676553c32555fff9ea05 100644 (file)
@@ -49,10 +49,10 @@ then
    # grouik style patch JPR
    if [ $2 = "bbtk" ]
    then
-      echo export BBTK_DIR='$'installPrefix/lib64/creatools/$2   >> $baseLibraryCreatoolsDir/creatools_base_library_config.sh
+      echo "export BBTK_DIR=""$""installPrefix/lib64/creatools/$2"   >> $baseLibraryCreatoolsDir/creatools_base_library_config.sh
    else
-      echo export $2_DIR='$'installPrefix/lib64/creatools/$2     >> $baseLibraryCreatoolsDir/creatools_base_library_config.sh
-      echo export bb$2_DIR='$'installPrefix/lib64/creatools/bb$2 >> $baseLibraryCreatoolsDir/creatools_base_library_config.sh      
+      echo "export $2_DIR=""$""installPrefix/lib64/creatools/$2"     >> $baseLibraryCreatoolsDir/creatools_base_library_config.sh
+      echo "export bb$2_DIR=""$""installPrefix/lib64/creatools/bb$2" >> $baseLibraryCreatoolsDir/creatools_base_library_config.sh      
    fi
 
 else
@@ -61,10 +61,10 @@ else
       # grouik style patch JPR
       if [ $2 = "bbtk" ]
       then
-         echo "export BBTK_DIR='$'installPrefix/lib/creatools/$2"   >> $baseLibraryCreatoolsDir/creatools_base_library_config.sh
+         echo "export BBTK_DIR=""$""installPrefix/lib/creatools/$2"   >> $baseLibraryCreatoolsDir/creatools_base_library_config.sh
       else
-         echo "export $2_DIR='$'installPrefix/lib/creatools/$2"     >> $baseLibraryCreatoolsDir/creatools_base_library_config.sh
-         echo "export bb$2_DIR='$'installPrefix/lib/creatools/bb$2" >> $baseLibraryCreatoolsDir/creatools_base_library_config.sh    
+         echo "export $2_DIR=""$""installPrefix/lib/creatools/$2"     >> $baseLibraryCreatoolsDir/creatools_base_library_config.sh
+         echo "export bb$2_DIR=""$""installPrefix/lib/creatools/bb$2" >> $baseLibraryCreatoolsDir/creatools_base_library_config.sh    
       fi
    else
       echo "============================= NEITHER $installPrefix/lib64 NOR $installPrefix/lib EXIST ?!?"