samba_version: When working from git checkout, display git revision SHA1 rather
[nivanova/samba-autobuild/.git] / source4 / wscript
index 8b2ab58d273bff7a0b155ebabc7890671c868e7e..bf4ccbdfcaedde954f280ca0049cd2e4205dc78d 100644 (file)
@@ -18,7 +18,7 @@ def load_version(have_git=False):
     if not have_git:
         env = samba_utils.LOAD_ENVIRONMENT()
         have_git = 'GIT' in env
-    version = wafsamba.samba_version_file("./VERSION", have_git=have_git)
+    version = wafsamba.samba_version_file("./VERSION", "..", have_git=have_git)
     Utils.g_module.VERSION = version.STRING
     return version