gentree.py: fix directory creating
authorHauke Mehrtens <hauke@hauke-m.de>
Mon, 21 Oct 2013 21:42:29 +0000 (23:42 +0200)
committerHauke Mehrtens <hauke@hauke-m.de>
Mon, 21 Oct 2013 21:44:19 +0000 (23:44 +0200)
The full path has to be provided not just the new directory to create.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
gentree.py

index daf90330a3176ed6422dfdb2cfa2329322c00080..d101bdb4cae4d69877a17f4a2726ab2a04fecce6 100755 (executable)
@@ -423,7 +423,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")