From 18141afac31f7db5475e47e5244f85e031f4ae00 Mon Sep 17 00:00:00 2001
From: Amir Mohammadi <183.amir@gmail.com>
Date: Fri, 21 Oct 2016 16:31:22 +0200
Subject: [PATCH] Fix a bug

---
 conda/update_feedstock.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/conda/update_feedstock.py b/conda/update_feedstock.py
index 5271388..1357ba3 100755
--- a/conda/update_feedstock.py
+++ b/conda/update_feedstock.py
@@ -75,7 +75,7 @@ def main(package):
   temp_dir = tempfile.mkdtemp()
   try:
     print("\nClonning the feedstock")
-    feedstock = os.path.join(temp_dir, 'feedstock')
+    feedstock = os.path.join(temp_dir, '{}-feedstock'.format(package))
     try:
       run_commands(['git', 'clone', 'git@github.com:conda-forge/{}-feedstock.git'.format(package), feedstock])
     except ValueError:
@@ -83,7 +83,7 @@ def main(package):
       raise
     os.chdir(feedstock)
     run_commands(['git', 'remote', 'add', 'bioidiap', 'git@github.com:bioidiap/{}-feedstock.git'.format(package)],
-                 ['git', 'fetch', '--all'],
+                 # ['git', 'fetch', '--all'],
                  ['git', 'checkout', '-b', stable_version])
     # update meta.yaml
     with open('recipe/meta.yaml') as f:
-- 
GitLab