diff options
author | Hauke Mehrtens <hauke@hauke-m.de> | 2013-10-21 23:58:09 +0200 |
---|---|---|
committer | Hauke Mehrtens <hauke@hauke-m.de> | 2013-10-28 22:20:17 +0100 |
commit | 6cb6f8bc1574e300c1b11e83b72a397f16641255 (patch) | |
tree | 4882a109417ae8d58fa0139c578afe5dee8064fb | |
parent | c0c6e351339ff2f9a0f13e08d432148693c8a923 (diff) |
gentree.py: add ending slash to upload path
Upstream commit: 3455026991cda1129ae313830ecd7386f75362a5
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>
-rwxr-xr-x | gentree.py | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -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)) |