mirror of
https://github.com/crosstool-ng/crosstool-ng.git
synced 2024-12-19 21:07:54 +00:00
Make rpmbuild happy with our unreleased versions
Signed-off-by: Alexey Neyman <stilor@att.net>
This commit is contained in:
parent
c969be1880
commit
682f9aac7b
@ -215,6 +215,10 @@ if test "x$v_from_git" != x; then
|
||||
esac
|
||||
fi
|
||||
|
||||
# Replace any dashes with underscores in the resulting version, to keep
|
||||
# rpmbuild happy. See https://github.com/semver/semver/issues/145.
|
||||
v=`echo "$v" | sed 's/-/_/g'`
|
||||
|
||||
# Omit the trailing newline, so that m4_esyscmd can use the result directly.
|
||||
printf %s "$v"
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user