diff options
author | Andrew Bartlett <abartlet@samba.org> | 2012-09-03 18:43:33 +1000 |
---|---|---|
committer | Andrew Bartlett <abartlet@samba.org> | 2012-09-03 19:24:10 +1000 |
commit | 3b3d7bb6029bf7c89abec0fb0b455a6154b0d0bf (patch) | |
tree | 9e5aad5ef9908ccaa53237b9b09c68c7aad6ab86 /wscript | |
parent | 3ad9c52b1471da7192aa39f878d3ec22ea52d665 (diff) | |
download | samba-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-x | wscript | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -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]) |