From: Nabil Ghodbane Date: Wed, 2 Oct 2024 13:35:35 +0000 (+0200) Subject: spns #43023: handle MEDReader submodule and support older git versions X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=1bf98e8fa3759ff87885c72aacef276296902210;p=tools%2Fsat_salome.git spns #43023: handle MEDReader submodule and support older git versions --- diff --git a/products/PARAVIS.pyconf b/products/PARAVIS.pyconf index 743a70e..8176996 100644 --- a/products/PARAVIS.pyconf +++ b/products/PARAVIS.pyconf @@ -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 : {