summaryrefslogtreecommitdiffstats
path: root/make-dist
diff options
context:
space:
mode:
Diffstat (limited to 'make-dist')
-rwxr-xr-xmake-dist2
1 files changed, 1 insertions, 1 deletions
diff --git a/make-dist b/make-dist
index e874436a5e7..033bedebd87 100755
--- a/make-dist
+++ b/make-dist
@@ -23,7 +23,7 @@ version=$1
[ -z "$version" ] && version=$(git describe --long --match 'v*' | sed 's/^v//')
if expr index $version '-' > /dev/null; then
rpm_version=$(echo $version | cut -d - -f 1-1)
- rpm_release=$(echo $version | cut -d - -f 2- | sed 's/-/./')
+ rpm_release=$(echo $version | cut -d - -f 2- | sed 's/-/./g')
else
rpm_version=$version
rpm_release=0