[PATCH 2/4] gentree.py: fix directory creating

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

Signed-off-by: Hauke Mehrtens <hauke@xxxxxxxxxx>
---
 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 majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux