git.samba.org
/
mat
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
31a88f2
)
build: make sure the directory exists in TOUCH_FILE()
author
Andrew Tridgell
<tridge@samba.org>
Fri, 2 Apr 2010 02:10:14 +0000
(13:10 +1100)
committer
Andrew Tridgell
<tridge@samba.org>
Tue, 6 Apr 2010 10:27:23 +0000
(20:27 +1000)
buildtools/wafsamba/samba_utils.py
patch
|
blob
|
history
diff --git
a/buildtools/wafsamba/samba_utils.py
b/buildtools/wafsamba/samba_utils.py
index 03325e08db64cc74950587da0d761ffdba19cb39..5637a305d0d5482fb7ef50fb09aa88cc3769f452 100644
(file)
--- 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()