From: CROUZET Nicolas Date: Tue, 15 Feb 2022 14:15:13 +0000 (+0100) Subject: sat #28931 : patch Nabil pour gérer les tags contenant des / X-Git-Tag: V9_9_0~11^2 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=b00d0e861476275be8b152fea3134c6cc4a9f824;p=tools%2Fsat.git sat #28931 : patch Nabil pour gérer les tags contenant des / --- diff --git a/commands/package.py b/commands/package.py index bbb20be..fb62fdc 100644 --- a/commands/package.py +++ b/commands/package.py @@ -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)