summaryrefslogtreecommitdiff
path: root/wscript
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2012-09-03 18:43:33 +1000
committerAndrew Bartlett <abartlet@samba.org>2012-09-03 19:24:10 +1000
commit3b3d7bb6029bf7c89abec0fb0b455a6154b0d0bf (patch)
tree9e5aad5ef9908ccaa53237b9b09c68c7aad6ab86 /wscript
parent3ad9c52b1471da7192aa39f878d3ec22ea52d665 (diff)
downloadsamba-3b3d7bb6029bf7c89abec0fb0b455a6154b0d0bf.tar.gz
samba-3b3d7bb6029bf7c89abec0fb0b455a6154b0d0bf.tar.bz2
samba-3b3d7bb6029bf7c89abec0fb0b455a6154b0d0bf.zip
build: Only make bin/ if it does not exist
Diffstat (limited to 'wscript')
-rwxr-xr-xwscript3
1 files changed, 2 insertions, 1 deletions
diff --git a/wscript b/wscript
index fcf4a0ff6a..37c25de4dd 100755
--- a/wscript
+++ b/wscript
@@ -239,7 +239,8 @@ def dist():
if sambaversion.IS_SNAPSHOT:
# write .distversion file and add to tar
- os.makedirs(blddir)
+ if not os.path.isdir(blddir):
+ 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])