From 0cc0082046d0a495c961101da7d6bd4dba1ec85e Mon Sep 17 00:00:00 2001 From: crouzet Date: Mon, 14 Dec 2020 16:25:34 +0100 Subject: [PATCH] sat #20490 : bug faux positif de sat prepare si le tag n'existe pas, ajout d'infos de compilation dans config --- commands/config.py | 6 ++++++ src/system.py | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/commands/config.py b/commands/config.py index abba1a8..6ef3dbf 100644 --- a/commands/config.py +++ b/commands/config.py @@ -743,6 +743,12 @@ def show_product_info(config, name, logger): logger.write(" " + src.printcolors.printcWarning(_("no install dir")) + "\n", 2) + + src.printcolors.print_value(logger, "debug ", pinfo.debug, 2) + src.printcolors.print_value(logger, "verbose ", pinfo.verbose, 2) + src.printcolors.print_value(logger, "hpc ", pinfo.hpc, 2) + src.printcolors.print_value(logger, "dev ", pinfo.dev, 2) + else: logger.write("\n", 2) msg = _("This product does not compile") diff --git a/src/system.py b/src/system.py index 446074e..1f0a6d3 100644 --- a/src/system.py +++ b/src/system.py @@ -111,7 +111,7 @@ touch -d "$(git --git-dir=%(where_git)s log -1 --format=date_format)" %(where)s set -x rmdir %(where)s git clone %(remote)s %(where)s && \ -git --git-dir=%(where_git)s --work-tree=%(where)s checkout %(tag)s +git --git-dir=%(where_git)s --work-tree=%(where)s checkout %(tag)s && \ touch -d "$(git --git-dir=%(where_git)s log -1 --format=date_format)" %(where)s """ cmd = cmd % {'remote': from_what, -- 2.39.2