From b00d0e861476275be8b152fea3134c6cc4a9f824 Mon Sep 17 00:00:00 2001 From: CROUZET Nicolas Date: Tue, 15 Feb 2022 15:15:13 +0100 Subject: [PATCH] =?utf8?q?sat=20#28931=20:=20patch=20Nabil=20pour=20g?= =?utf8?q?=C3=A9rer=20les=20tags=20contenant=20des=20/?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- commands/package.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) -- 2.39.2