summaryrefslogtreecommitdiff
path: root/buildtools/wafsamba
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2010-09-05 18:00:44 +0200
committerJelmer Vernooij <jelmer@samba.org>2010-09-05 18:01:43 +0200
commit61e537cf50ef60176c65c3a73d9a2f55c54e01e0 (patch)
tree1cf3daa41429ce7af93af2f5c291f2749c3d9472 /buildtools/wafsamba
parentdf194692952cb495fe1bc68b01965ff4b9bd2843 (diff)
downloadsamba-61e537cf50ef60176c65c3a73d9a2f55c54e01e0.tar.gz
samba-61e537cf50ef60176c65c3a73d9a2f55c54e01e0.tar.bz2
samba-61e537cf50ef60176c65c3a73d9a2f55c54e01e0.zip
waf: Use os.makedirs rather than os.mkdir in case parent directories
don't exist yet.
Diffstat (limited to 'buildtools/wafsamba')
-rw-r--r--buildtools/wafsamba/samba_install.py2
1 files changed, 1 insertions, 1 deletions
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)