From: crouzet Date: Mon, 14 Dec 2020 15:25:34 +0000 (+0100) Subject: sat #20490 : bug faux positif de sat prepare si le tag n'existe pas, ajout d'infos... X-Git-Tag: 5.8.0~15 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=0cc0082046d0a495c961101da7d6bd4dba1ec85e;p=tools%2Fsat.git sat #20490 : bug faux positif de sat prepare si le tag n'existe pas, ajout d'infos de compilation dans config --- 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,