From 61e537cf50ef60176c65c3a73d9a2f55c54e01e0 Mon Sep 17 00:00:00 2001 From: Jelmer Vernooij Date: Sun, 5 Sep 2010 18:00:44 +0200 Subject: waf: Use os.makedirs rather than os.mkdir in case parent directories don't exist yet. --- buildtools/wafsamba/samba_install.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'buildtools') diff --git a/buildtools/wafsamba/samba_install.py b/buildtools/wafsamba/samba_install.py index f4ca26353d..fc925c5955 100644 --- a/buildtools/wafsamba/samba_install.py +++ b/buildtools/wafsamba/samba_install.py @@ -153,7 +153,7 @@ def symlink_lib(self): link_container = os.path.dirname(link_target) if not os.path.isdir(link_container): - os.mkdir(link_container) + os.makedirs(link_container) os.symlink(libpath, link_target) -- cgit