summaryrefslogtreecommitdiff
path: root/solenv/bin/modules/installer/scriptitems.pm
diff options
context:
space:
mode:
Diffstat (limited to 'solenv/bin/modules/installer/scriptitems.pm')
-rw-r--r--solenv/bin/modules/installer/scriptitems.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/solenv/bin/modules/installer/scriptitems.pm b/solenv/bin/modules/installer/scriptitems.pm
index bb8fe55156e0..fb5c9c443372 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 {