The full path has to be provided not just the new directory to create.

Signed-off-by: Hauke Mehrtens <[email protected]>
---
 gentree.py |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/gentree.py b/gentree.py
index daf9033..d101bdb 100755
--- a/gentree.py
+++ b/gentree.py
@@ -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")
-- 
1.7.10.4

--
To unsubscribe from this list: send the line "unsubscribe backports" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to