summaryrefslogtreecommitdiff
path: root/buildtools/wafsamba/samba_utils.py
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2010-04-02 12:26:27 +1100
committerAndrew Tridgell <tridge@samba.org>2010-04-06 20:27:22 +1000
commit865e478e25e6c9d69915061f6f2211298e730068 (patch)
tree0429e7545e43f6bf4460a187b5748a477fc878fb /buildtools/wafsamba/samba_utils.py
parent9e52dc441e6709429194555350825ffcf341abf5 (diff)
downloadsamba-865e478e25e6c9d69915061f6f2211298e730068.tar.gz
samba-865e478e25e6c9d69915061f6f2211298e730068.tar.bz2
samba-865e478e25e6c9d69915061f6f2211298e730068.zip
s4-waf: create a blank __init__.py in samba/external
needed for the external lib loader
Diffstat (limited to 'buildtools/wafsamba/samba_utils.py')
-rw-r--r--buildtools/wafsamba/samba_utils.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/buildtools/wafsamba/samba_utils.py b/buildtools/wafsamba/samba_utils.py
index 789720f0ea..03325e08db 100644
--- a/buildtools/wafsamba/samba_utils.py
+++ b/buildtools/wafsamba/samba_utils.py
@@ -407,3 +407,8 @@ def IS_NEWER(bld, file1, file2):
return t1 > t2
Build.BuildContext.IS_NEWER = IS_NEWER
+
+def TOUCH_FILE(file):
+ '''touch a file'''
+ f = open(file, 'w')
+ f.close()