summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2012-08-21 15:22:25 +1000
committerAndrew Bartlett <abartlet@samba.org>2012-08-21 09:03:01 +0200
commita81795974ca838f48f8c323bc7563c56795e6bdd (patch)
treeb016e08d0b6967da0456a4d1fa624ce40bd533ca
parentdc063bf3bdf06aff1582c5c8784a8e0d5b06d378 (diff)
downloadsamba-a81795974ca838f48f8c323bc7563c56795e6bdd.tar.gz
samba-a81795974ca838f48f8c323bc7563c56795e6bdd.tar.bz2
samba-a81795974ca838f48f8c323bc7563c56795e6bdd.zip
build: Create bin/ when doing 'waf dist' from a fresh checkout
As suggested by Amitay. Andrew Bartlett Autobuild-User(master): Andrew Bartlett <abartlet@samba.org> Autobuild-Date(master): Tue Aug 21 09:03:02 CEST 2012 on sn-devel-104
-rwxr-xr-xwscript1
1 files changed, 1 insertions, 0 deletions
diff --git a/wscript b/wscript
index 3667a8db34..fcf4a0ff6a 100755
--- a/wscript
+++ b/wscript
@@ -239,6 +239,7 @@ def dist():
if sambaversion.IS_SNAPSHOT:
# write .distversion file and add to tar
+ os.makedirs(blddir)
distversionf = tempfile.NamedTemporaryFile(mode='w', prefix='.distversion',dir=blddir)
for field in sambaversion.vcs_fields:
distveroption = field + '=' + str(sambaversion.vcs_fields[field])