summaryrefslogtreecommitdiff
path: root/gentree.py
diff options
context:
space:
mode:
authorHauke Mehrtens <hauke@hauke-m.de>2013-10-21 23:58:09 +0200
committerHauke Mehrtens <hauke@hauke-m.de>2013-10-21 23:58:37 +0200
commit3455026991cda1129ae313830ecd7386f75362a5 (patch)
tree2de7319d7af521795c14ad7d62c99731e3d26e6e /gentree.py
parentfdda21c96cc00461127a394e22eea3f7cb1119a5 (diff)
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 <hauke@hauke-m.de>
Diffstat (limited to 'gentree.py')
-rwxr-xr-xgentree.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/gentree.py b/gentree.py
index cb5431d1..bc446d4e 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))