From 7758fd6daa347cca388287f2b625c62c963440ce Mon Sep 17 00:00:00 2001
From: Andre Anjos <andre.dos.anjos@gmail.com>
Date: Thu, 8 Aug 2019 06:38:16 +0200
Subject: [PATCH] [scripts/ci] Fix nightly builds

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

diff --git a/bob/devtools/scripts/ci.py b/bob/devtools/scripts/ci.py
index d18d6018..da447397 100644
--- a/bob/devtools/scripts/ci.py
+++ b/bob/devtools/scripts/ci.py
@@ -570,7 +570,7 @@ def nightlies(ctx, order, dry_run):
     # Use custom variants and append files if available on recipe-dir
     recipe_dir = os.path.join(clone_to, 'conda')
 
-    condarc = select_user_condarc(paths=[recipe, os.curdir],
+    condarc = select_user_condarc(paths=[recipe_dir, os.curdir],
           branch=os.environ.get('CI_COMMIT_REF_NAME'))
     if condarc is not None:
       logger.info('Condarc configuration file: %s', condarc)
-- 
GitLab