summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHauke Mehrtens <hauke@hauke-m.de>2013-10-21 23:42:29 +0200
committerHauke Mehrtens <hauke@hauke-m.de>2013-10-28 21:34:31 +0100
commita51b3adcc0042b282fb97ece13ac45a9003a99eb (patch)
tree24c2649270ec0cb46b271056e00d69c4e8b472f6
parent3740e2d37dac90e31823fb135f340f9d96d43c3d (diff)
gentree.py: fix directory creating
Upstream commit: efdb6bbb9cd89d3174dbdecf02b79c0f294e3d10 The full path has to be provided not just the new directory to create. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
-rwxr-xr-xgentree.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/gentree.py b/gentree.py
index 26a55c9d..e7566618 100755
--- a/gentree.py
+++ b/gentree.py
@@ -405,7 +405,7 @@ def upload_release(args, rel_prep, logwrite=lambda x:None):
for path in rel_prep['paths_to_create']:
korg_path += '/' + path
if (not args.kup_test):
- logwrite(kup.mkdir(path))
+ logwrite(kup.mkdir(korg_path))
if (not args.kup_test):
logwrite(kup.put(bzip2_name, tar_name + '.asc', korg_path))
logwrite("\nFinished upload!\n")