ctdb/wscript: rework how version number is retrieved
authorAlexander Bokovoy <ab@samba.org>
Wed, 4 Jul 2018 08:05:10 +0000 (11:05 +0300)
committerAndrew Bartlett <abartlet@samba.org>
Wed, 5 Sep 2018 04:37:27 +0000 (06:37 +0200)
commit0a9d98ba1521b711e4987d6709327bcf6ec64b6c
tree7b8678dc910d8ca3c5030191b1124441b9d6bbdc
parentfdd89fefb523ebbb78247c84289a4894c34b7213
ctdb/wscript: rework how version number is retrieved

Using default context functions before waf initialization occured
is prone to error. Postpone calling samba_version.* code until we
got default context initialized.

Signed-off-by: Alexander Bokovoy <ab@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
ctdb/wscript