From ac508c8a32af239c7005d9f10b3ebe4cfd0cebb4 Mon Sep 17 00:00:00 2001
From: Andre Anjos <andre.dos.anjos@gmail.com>
Date: Sat, 9 Mar 2019 04:45:33 +0100
Subject: [PATCH] [scripts][rebuild] Make it more interchangeable with
 scripts.build

---
 bob/devtools/scripts/rebuild.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/bob/devtools/scripts/rebuild.py b/bob/devtools/scripts/rebuild.py
index 3fed8ba9..0421a761 100644
--- a/bob/devtools/scripts/rebuild.py
+++ b/bob/devtools/scripts/rebuild.py
@@ -206,7 +206,7 @@ def rebuild(recipe_dir, python, condarc, config, append_file,
         conda_build.api.build(metadata[0][0], config=conda_config, notest=False)
         # if you get to this point, the package was successfully rebuilt
         # set environment to signal caller we can upload it
-        os.environ['BDT_REBUILD'] = candidate
+        os.environ['BDT_BUILD'] = candidate
 
     else:  #skip build, test worked
       logger.info('Skipping rebuild of %s-%s-py%s (build: %d) for %s',
-- 
GitLab