diff options
author | Michael Adam <obnox@samba.org> | 2015-06-08 12:47:34 +0200 |
---|---|---|
committer | Michael Adam <obnox@samba.org> | 2015-06-08 13:03:14 +0200 |
commit | 3863c0aa7100ac2e663b128ad115f44764f11d71 (patch) | |
tree | 8ba76fe5c513ab9b72295e2d27fd9381a1959398 /ctdb | |
parent | 62d413675589be921dbee4337399c948680f6bc3 (diff) | |
download | samba-3863c0aa7100ac2e663b128ad115f44764f11d71.tar.gz |
ctdb-build: fix version handling in standalone build
Pair-Programmed-With: Stefan Metzmacher <metze@samba.org>
Signed-off-by: Michael Adam <obnox@samba.org>
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Diffstat (limited to 'ctdb')
-rwxr-xr-x | ctdb/wscript | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/ctdb/wscript b/ctdb/wscript index cd0226225fb..2c9c8b153d0 100755 --- a/ctdb/wscript +++ b/ctdb/wscript @@ -239,10 +239,10 @@ def build(bld): version_h = samba_utils.os_path_relpath(os.path.join(Options.launch_dir, "version.h"), bld.curdir) - t.bld.SAMBA_GENERATOR('ctdb-samba-version-header', - target=version_h, - rule='printf "#include \\"ctdb_version.h\\" \\n#define SAMBA_VERSION_STRING CTDB_VERSION_STRING\\n" > ${TGT}', - dep_vars=['VERSION']) + t = bld.SAMBA_GENERATOR('ctdb-samba-version-header', + target=version_h, + rule='printf "#include \\"ctdb_version.h\\" \\n#define SAMBA_VERSION_STRING CTDB_VERSION_STRING\\n" > ${TGT}', + dep_vars=['VERSION']) t.env.VERSION = VERSION bld.RECURSE('lib/replace') |