summaryrefslogtreecommitdiff
authorMiklos Vajna <vmiklos@suse.cz>2013-06-15 23:41:20 (GMT)
committer Miklos Vajna <vmiklos@suse.cz>2013-06-16 09:18:13 (GMT)
commit216fe5cf3c41713fa2a11731e4c3d514236b2480 (patch) (side-by-side diff)
tree37d30d73d2b7e882637f775712ded4183d65bbb4
parentfa76a7159ad022df555f9c89dfce30a9c1681c26 (diff)
downloadcore-216fe5cf3c41713fa2a11731e4c3d514236b2480.zip
core-216fe5cf3c41713fa2a11731e4c3d514236b2480.tar.gz
solenv: fix missing last char of the git hash in the about dialog
When 918695a2bf8f95fd437071bfc6ac59e446c256f8 introduced this, we were having a "foo-bar-baz-"-like hash, and removing the last char made sense. Since we then switched to 'git log -n 1 --pretty=format:"%H"' from './g -s log -n 1 --pretty=format:%h-', this is just no longer necessary. Change-Id: Icee0d38e5bd917163d678df5cb12c36902460c7b
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--solenv/bin/modules/installer/scriptitems.pm3
1 files changed, 0 insertions, 3 deletions
diff --git a/solenv/bin/modules/installer/scriptitems.pm b/solenv/bin/modules/installer/scriptitems.pm
index 52aedf9..b22391d 100644
--- a/solenv/bin/modules/installer/scriptitems.pm
+++ b/solenv/bin/modules/installer/scriptitems.pm
@@ -667,9 +667,6 @@ sub replace_setup_variables
if ($? || !$buildidstring) {
$buildidstring = $localbuild . $localminor . "(Build:" . $installer::globals::buildid . ")";
}
- else {
- $buildidstring = substr($buildidstring, 0, -1);
- }
if ( $localminor =~ /^\s*\w(\d+)\w*\s*$/ ) { $localminor = $1; }