From 3455026991cda1129ae313830ecd7386f75362a5 Mon Sep 17 00:00:00 2001 From: Hauke Mehrtens Date: Mon, 21 Oct 2013 23:58:09 +0200 Subject: [PATCH] gentree.py: add ending slash to upload path the filename in kup put should end with a slash otherwise it tried to overwrite this file. Signed-off-by: Hauke Mehrtens --- gentree.py | 1 + 1 file changed, 1 insertion(+) diff --git a/gentree.py b/gentree.py index cb5431d195c8..bc446d4eed64 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)) -- 2.30.2