From: Hauke Mehrtens Date: Mon, 21 Oct 2013 21:58:09 +0000 (+0200) Subject: gentree.py: add ending slash to upload path X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=3455026991cda1129ae313830ecd7386f75362a5;p=openwrt%2Fstaging%2Fblogic.git 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 --- 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))