projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fdda21c
)
gentree.py: add ending slash to upload path
author
Hauke Mehrtens
<hauke@hauke-m.de>
Mon, 21 Oct 2013 21:58:09 +0000
(23:58 +0200)
committer
Hauke Mehrtens
<hauke@hauke-m.de>
Mon, 21 Oct 2013 21:58:37 +0000
(23:58 +0200)
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>
gentree.py
patch
|
blob
|
history
diff --git
a/gentree.py
b/gentree.py
index cb5431d195c8a1704a48103c57adc3382a6e7154..bc446d4eed648f1ab607c05276a3a5218bcb8810 100755
(executable)
--- 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))