mirror of
https://review.haiku-os.org/haiku
synced 2024-11-23 07:18:40 +01:00
determine_haiku_revision: Properly get rid of the commit hash.
Change-Id: I3f57b1cd4d819e7f531001d747bf7b103954a918 Reviewed-on: https://review.haiku-os.org/581 Reviewed-by: waddlesplash <waddlesplash@gmail.com>
This commit is contained in:
parent
de777b79eb
commit
2d9270e859
@ -37,7 +37,7 @@ if [ -z "$revision" -o "$lastBuiltRevision" != "$localRev" ]; then
|
||||
exit 1
|
||||
fi
|
||||
|
||||
revision=`echo $revision | sed 's/-g.....//' | sed 's/-/+/g'`
|
||||
revision=`echo $revision | sed 's/-g[0-9a-z]\+//' | sed 's/-/+/g'`
|
||||
if echo "$revision" | grep -- '-' >/dev/null; then
|
||||
# HEAD is not directly a changeset from Haiku's central repo, so we
|
||||
# add the current branch name as additional info
|
||||
|
Loading…
Reference in New Issue
Block a user