diff options
author | Miklos Vajna <vmiklos@suse.cz> | 2013-06-16 01:41:20 +0200 |
---|---|---|
committer | Miklos Vajna <vmiklos@suse.cz> | 2013-06-16 11:18:13 +0200 |
commit | 216fe5cf3c41713fa2a11731e4c3d514236b2480 (patch) | |
tree | 37d30d73d2b7e882637f775712ded4183d65bbb4 /solenv/bin | |
parent | fa76a7159ad022df555f9c89dfce30a9c1681c26 (diff) |
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 (limited to 'solenv/bin')
-rw-r--r-- | solenv/bin/modules/installer/scriptitems.pm | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/solenv/bin/modules/installer/scriptitems.pm b/solenv/bin/modules/installer/scriptitems.pm index 52aedf96461e..b22391d086f2 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; } |