diff options
author | Amitay Isaacs <amitay@gmail.com> | 2015-10-23 13:05:20 +1100 |
---|---|---|
committer | Martin Schwenke <martins@samba.org> | 2015-10-30 02:00:27 +0100 |
commit | ded94c426b2e7758735a57ec2b5c7c62a1b4fc65 (patch) | |
tree | a90a6c2bbadcffc785f0950fd332fcca57042037 /ctdb/server | |
parent | f50ac680340ad2981ffac2b7ac0e2c746a17882c (diff) | |
download | samba-ded94c426b2e7758735a57ec2b5c7c62a1b4fc65.tar.gz |
ctdb-build: Calculate correct version when building from tarball
When building standalone ctdb from git repo, samba_version_file correctly
includes git sha in VERSION string. When building standalone ctdb from
tarball, samba_version_file puts UNKNOWN in the VERSION string.
Use the packaged include/ctdb_version.h file to set the correct git sha.
Signed-off-by: Amitay Isaacs <amitay@gmail.com>
Reviewed-by: Martin Schwenke <martin@meltin.net>
Diffstat (limited to 'ctdb/server')
-rw-r--r-- | ctdb/server/ctdb_daemon.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ctdb/server/ctdb_daemon.c b/ctdb/server/ctdb_daemon.c index 3598c580ac4..7371b05b1d9 100644 --- a/ctdb/server/ctdb_daemon.c +++ b/ctdb/server/ctdb_daemon.c @@ -34,7 +34,7 @@ #include "lib/util/debug.h" #include "lib/util/samba_util.h" -#include "../include/ctdb_version.h" +#include "ctdb_version.h" #include "ctdb_private.h" #include "ctdb_client.h" #include "ctdb_logging.h" |