summaryrefslogtreecommitdiff
path: root/buildtools/wafsamba/samba_utils.py
diff options
context:
space:
mode:
Diffstat (limited to 'buildtools/wafsamba/samba_utils.py')
-rw-r--r--buildtools/wafsamba/samba_utils.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/buildtools/wafsamba/samba_utils.py b/buildtools/wafsamba/samba_utils.py
index 03325e08db..5637a305d0 100644
--- a/buildtools/wafsamba/samba_utils.py
+++ b/buildtools/wafsamba/samba_utils.py
@@ -410,5 +410,6 @@ Build.BuildContext.IS_NEWER = IS_NEWER
def TOUCH_FILE(file):
'''touch a file'''
+ mkdir_p(os.path.dirname(file))
f = open(file, 'w')
f.close()