build: only use the git version on install, not in the build tree
[sfrench/samba-autobuild/.git] / wscript
diff --git a/wscript b/wscript
index 92c2594f3ebbc8f163c83a681884b27037012650..8e1e9a6305b18060eedccba4fa0b63ab0c1d220c 100755 (executable)
--- a/wscript
+++ b/wscript
@@ -157,7 +157,7 @@ def ctags(ctx):
 # of commands in --help
 def build(bld):
     '''build all targets'''
-    samba_version.load_version(env=bld.env)
+    samba_version.load_version(env=bld.env, is_install=bld.is_install)
     pass