]> SALOME platform Git repositories - tools/sat.git/commitdiff
Salome HOME
sat #28931 : patch Nabil pour gérer les tags contenant des /
authorCROUZET Nicolas <crouzet@is243948.intra.cea.fr>
Tue, 15 Feb 2022 14:15:13 +0000 (15:15 +0100)
committerCROUZET Nicolas <crouzet@is243948.intra.cea.fr>
Tue, 15 Feb 2022 14:15:13 +0000 (15:15 +0100)
commands/package.py

index bbb20bed7f62b1bbd22c5b62f9d4f5d9deb14ee2..fb62fdc51c3f142b5ed160194bc1f49f5fb97ecf 100644 (file)
@@ -623,7 +623,7 @@ def bin_products_archives(config, logger, only_vcs):
             l_not_installed.append(prod_name)
             continue  # product is not installed, we skip it
         # prepare call to make_bin_archive
-        path_targz_prod = os.path.join(binpackage_path, prod_name + '-' + prod_info.version + "-" + config.VARS.dist + PACKAGE_EXT) 
+        path_targz_prod = os.path.join(binpackage_path, prod_name + '-' + prod_info.version.replace("/", "_") + "-" + config.VARS.dist + PACKAGE_EXT)
         targz_prod = tarfile.open(path_targz_prod, mode='w:gz')
         bin_path = prod_info.install_dir
         targz_prod.add(bin_path)