]> SALOME platform Git repositories - tools/sat_salome.git/commitdiff
Salome HOME
spns #43023: handle MEDReader submodule and support older git versions
authorNabil Ghodbane <nabil.ghodbane@cea.fr>
Wed, 2 Oct 2024 13:35:35 +0000 (15:35 +0200)
committerNabil Ghodbane <nabil.ghodbane@cea.fr>
Wed, 2 Oct 2024 13:35:35 +0000 (15:35 +0200)
products/PARAVIS.pyconf

index 743a70e89bfa4955f8dcc481871757322268f527..8176996629ed40095a2aa50dca384a78861b6443 100644 (file)
@@ -12,11 +12,12 @@ default :
         github : $PROJECTS.projects.salome.git_info.git_server.github.url + "paravis.git"
         gitpub : $PROJECTS.projects.salome.git_info.git_server.gitpub.url + "modules/paravis.git"
       }
-      git_options : ' --recurse-submodules '
       git_commands: [
-                     'git submodule set-url -- src/Plugins/MEDReader ../medreader',
-                     'git submodule update --init'
-                   ]
+                     'git config -f .gitmodules submodule.src/Plugins/MEDReader.url ../medreader',
+                     'git config -f .git/config submodule.src/Plugins/MEDReader.url ../medreader',
+                     'git submodule sync',
+                     'git submodule update --init --remote'
+                    ]
     }
     environ :
     {