From 756beca79ee57116e39b3f6a6eb6dabe3e185442 Mon Sep 17 00:00:00 2001
From: Andre Anjos <andre.dos.anjos@gmail.com>
Date: Wed, 9 Jun 2021 15:51:13 +0200
Subject: [PATCH] [bootstrap] Run conda info before updating the installation

---
 bob/devtools/bootstrap.py | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/bob/devtools/bootstrap.py b/bob/devtools/bootstrap.py
index 0308916b..4338c319 100644
--- a/bob/devtools/bootstrap.py
+++ b/bob/devtools/bootstrap.py
@@ -477,6 +477,9 @@ if __name__ == "__main__":
     if args.verbose >= 3:
         conda_verbosity = ["-vv"]
 
+    # print conda information for debugging purposes
+    run_cmdline([conda_bin, "info"] + conda_verbosity)
+
     if args.command == "build":
 
         # simple - just use the defaults channels when self building
@@ -552,6 +555,3 @@ if __name__ == "__main__":
         if conda_cmd == "install":
             cmd += ["--update-specs"]
         run_cmdline(cmd)
-
-    # print conda information for debugging purposes
-    run_cmdline([conda_bin, "info"] + conda_verbosity)
-- 
GitLab