From dea684122177a2064b565bafb98fbd4ccd6ab0ae Mon Sep 17 00:00:00 2001
From: Andre Anjos <andre.dos.anjos@gmail.com>
Date: Wed, 16 Jan 2019 16:46:27 +0100
Subject: [PATCH] [build] Fix call to conda-build

---
 bob/devtools/build.py | 7 ++-----
 1 file changed, 2 insertions(+), 5 deletions(-)

diff --git a/bob/devtools/build.py b/bob/devtools/build.py
index afce77ba..9f2d8dab 100644
--- a/bob/devtools/build.py
+++ b/bob/devtools/build.py
@@ -305,12 +305,9 @@ if __name__ == '__main__':
       verbose=True)
 
   # runs the build using the conda-build API
-  arch = osname()
   logger.info('Building %s-%s-py%s (build: %d) for %s',
-      rendered_recipe['package']['name'],
-      rendered_recipe['package']['version'], pyver.replace('.',''),
-      build_number, arch)
-  conda_build.api.build(d, config=conda_config)
+      name, version, pyver.replace('.',''), build_number, osname())
+  conda_build.api.build(os.path.join(workdir, 'conda'), config=conda_config)
 
   # runs git clean to clean everything that is not needed. This helps to keep
   # the disk usage on CI machines to a minimum.
-- 
GitLab