[Libreoffice-commits] .: Branch 'libreoffice-3-5-0' - solenv/bin
Eike Rathke
erack at kemper.freedesktop.org
Thu Jan 26 11:55:18 PST 2012
solenv/bin/modules/installer/scriptitems.pm | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit 2461c1d1deb589930c9078bc4728c6b9120b9a8b
Author: Miklos Vajna <vmiklos at frugalware.org>
Date: Thu Jan 26 17:27:03 2012 +0100
solenv: handle error code from ./g
This avoids "Cannot find the git binary! Is git installed and is in
PATH?" strings in the about dialog when building from a tarball.
(cherry picked from commit 439e5279c5d334f849a6ab7b51bad1bb12f13aae)
Conflicts:
solenv/bin/modules/installer/scriptitems.pm
(cherry picked from commit 9abb0b6bbe2de65988065f78354ccf5ebde4a7ae)
Signed-off-by: Caolán McNamara <caolanm at redhat.com>
Signed-off-by: Petr Mladek <pmladek at suse.cz>
Signed-off-by: Eike Rathke <erack at redhat.com>
diff --git a/solenv/bin/modules/installer/scriptitems.pm b/solenv/bin/modules/installer/scriptitems.pm
index bb8fe55..fb5c9c4 100644
--- a/solenv/bin/modules/installer/scriptitems.pm
+++ b/solenv/bin/modules/installer/scriptitems.pm
@@ -816,7 +816,7 @@ sub replace_setup_variables
if ( $localbuild =~ /^\s*(\w+?)(\d+)\s*$/ ) { $localbuild = $2; } # using "680" instead of "src680"
my $buildidstring = `$ENV{'SRC_ROOT'}/g -s log -n 1 --pretty=format:%h-`;
- if (!$buildidstring) {
+ if ($? || !$buildidstring) {
$buildidstring = $localbuild . $localminor . "(Build:" . $installer::globals::buildid . ")";
}
else {
More information about the Libreoffice-commits
mailing list