summaryrefslogtreecommitdiff
path: root/instsetoo_native
diff options
context:
space:
mode:
authorMatúš Kukan <matus.kukan@gmail.com>2013-09-12 10:24:44 +0200
committerMatúš Kukan <matus.kukan@gmail.com>2013-09-12 10:26:47 +0200
commit5fd86fb2a3b91a4ab2c6610051db13a21119540a (patch)
tree5ed09e8f3c2bbd6fb283a3eeeab2025b36c742c5 /instsetoo_native
parent96e1446f3235cb06c8b9e0ac5bce09b37fbe36bd (diff)
make this work also if BUILDDIR != SRCDIR
Change-Id: I992020936cc39e5a6b04cd507b61853043a19b49
Diffstat (limited to 'instsetoo_native')
-rw-r--r--instsetoo_native/CustomTarget_setup.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/instsetoo_native/CustomTarget_setup.mk b/instsetoo_native/CustomTarget_setup.mk
index a4c88930fe5c..8556ff58b059 100644
--- a/instsetoo_native/CustomTarget_setup.mk
+++ b/instsetoo_native/CustomTarget_setup.mk
@@ -130,7 +130,7 @@ $(call gb_CustomTarget_get_workdir,instsetoo_native/setup)/$(call gb_Helper_get_
echo '[Version]' \
&& echo 'AllLanguages=$(if $(gb_WITH_LANG),$(gb_WITH_LANG),en-US)' \
&& echo 'BuildVersion=$(BUILD_VER_STRING)' \
- && echo 'buildid=$(shell git log -1 --format=%H)' \
+ && echo 'buildid=$(shell cd $(SRCDIR) && git log -1 --format=%H)' \
&& echo 'ExtensionUpdateURL=http://updateexte.libreoffice.org/ExtensionUpdateService/check.Update' \
&& echo 'ProductMajor=$(LIBO_VERSION_MAJOR)$(LIBO_VERSION_MINOR)$(LIBO_VERSION_MICRO)' \
&& echo 'ProductMinor=$(LIBO_VERSION_PATCH)' \