changeset 39467:164abbe9d8ee

merge with stable
author Augie Fackler <augie@google.com>
date Fri, 07 Sep 2018 11:35:43 -0400
parents 83dd656586b1 (current diff) 6af7765bdb7c (diff)
children 6772cf74ff6f
files
diffstat 1 files changed, 1 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/contrib/packaging/buildrpm	Tue Sep 04 15:16:22 2018 +0300
+++ b/contrib/packaging/buildrpm	Fri Sep 07 11:35:43 2018 -0400
@@ -50,8 +50,6 @@
 
 gethgversion
 
-# TODO: handle distance/node set, and type set
-
 if [ -z "$type" ] ; then
    release=1
 else
@@ -59,7 +57,7 @@
 fi
 
 if [ -n "$distance" ] ; then
-    release=$release+$distance_$node
+    release=$release+${distance}_${node}
 fi
 
 if [ "$PYTHONVER" ]; then