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.pm3
1 files changed, 3 insertions, 0 deletions
diff --git a/solenv/bin/modules/installer/scriptitems.pm b/solenv/bin/modules/installer/scriptitems.pm
index ed1b6bc5964e..bc7d9572d5e3 100644
--- a/solenv/bin/modules/installer/scriptitems.pm
+++ b/solenv/bin/modules/installer/scriptitems.pm
@@ -806,6 +806,9 @@ sub replace_setup_variables
if (!$buildidstring) {
$buildidstring = $localbuild . $localminor . "(Build:" . $installer::globals::buildid . ")";
}
+ else {
+ $buildidstring = substr($buildidstring, 0, -1);
+ }
# the environment variable CWS_WORK_STAMP is set only in CWS
if ( $ENV{'CWS_WORK_STAMP'} ) { $buildidstring = $buildidstring . "\[CWS\:" . $ENV{'CWS_WORK_STAMP'} . "\]"; }