the filename in kup put should end with a slash otherwise it tried to
overwrite this file.

Signed-off-by: Hauke Mehrtens <[email protected]>
---
 gentree.py |    1 +
 1 file changed, 1 insertion(+)

diff --git a/gentree.py b/gentree.py
index cb5431d..bc446d4 100755
--- a/gentree.py
+++ b/gentree.py
@@ -425,6 +425,7 @@ def upload_release(args, rel_prep, logwrite=lambda x:None):
         if (not args.kup_test):
             logwrite("create directory: %s" % korg_path)
             logwrite(kup.mkdir(korg_path))
+    korg_path += '/'
     if (not args.kup_test):
         logwrite("upload file %s to %s" % (bzip2_name, korg_path))
         logwrite(kup.put(bzip2_name, tar_name + '.asc', korg_path))
-- 
1.7.10.4

--
To unsubscribe from this list: send the line "unsubscribe backports" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to