From a8d13cdcc0eed0c82aec0e0ffd4ba0f57dc24b69 Mon Sep 17 00:00:00 2001 From: Amir MOHAMMADI <amir.mohammadi@idiap.ch> Date: Thu, 27 Oct 2016 17:30:53 +0200 Subject: [PATCH] [conda-forge deploy] Just use '/local/conda/bin/' --- gitlab/update_feedstock.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/gitlab/update_feedstock.py b/gitlab/update_feedstock.py index 132218d..2a04d7e 100755 --- a/gitlab/update_feedstock.py +++ b/gitlab/update_feedstock.py @@ -132,9 +132,9 @@ def main(package, direct_push=False): with open('recipe/meta.yaml', 'w') as f: f.write(doc) - conda_smithy_path = os.getenv('CONDA_FOLDER', '') - if conda_smithy_path: - conda_smithy_path = conda_smithy_path + os.sep + conda_smithy_path = '' + if os.path.isdir('/local/conda/bin/'): + conda_smithy_path = '/local/conda/bin/' run_commands([conda_smithy_path+'conda-smithy', 'rerender'], ['git', '--no-pager', 'diff'], ['git', 'add', '-A']) -- GitLab