From d4e479185a64bb756baf5662809c2987dfb5f48a Mon Sep 17 00:00:00 2001
From: Andre Anjos <andre.dos.anjos@gmail.com>
Date: Tue, 15 Jan 2019 14:04:15 +0100
Subject: [PATCH] [scripts][ci] Fix deployment path for conda packages

---
 bob/devtools/scripts/ci.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/bob/devtools/scripts/ci.py b/bob/devtools/scripts/ci.py
index 5945d248..f95bcff4 100644
--- a/bob/devtools/scripts/ci.py
+++ b/bob/devtools/scripts/ci.py
@@ -93,8 +93,8 @@ def deploy(dry_run):
           name + '*.tar.bz2')
       deploy_packages = glob.glob(package_path)
       for k in deploy_packages:
-        remote_path = '%s%s/%s' % (server_info['root'], server_info['conda'],
-            os.path.basename(k))
+        remote_path = '%s%s/%s/%s' % (server_info['root'],
+            server_info['conda'], arch, os.path.basename(k))
         if davclient.check(remote_path):
           raise RuntimeError('The file %s/%s already exists on the server ' \
               '- this can be due to more than one build with deployment ' \
-- 
GitLab