D4493: buildrpm: fix embarassing bug in shell variable expansions

durin42 (Augie Fackler) phabricator at mercurial-scm.org
Thu Sep 6 08:27:05 EDT 2018


This revision was automatically updated to reflect the committed changes.
Closed by commit rHGc68cfc55af9d: buildrpm: fix embarassing bug in shell variable expansions (authored by durin42, committed by ).

REPOSITORY
  rHG Mercurial

CHANGES SINCE LAST UPDATE
  https://phab.mercurial-scm.org/D4493?vs=10806&id=10813

REVISION DETAIL
  https://phab.mercurial-scm.org/D4493

AFFECTED FILES
  contrib/packaging/buildrpm

CHANGE DETAILS

diff --git a/contrib/packaging/buildrpm b/contrib/packaging/buildrpm
--- a/contrib/packaging/buildrpm
+++ b/contrib/packaging/buildrpm
@@ -59,7 +59,7 @@
 fi
 
 if [ -n "$distance" ] ; then
-    release=$release+$distance_$node
+    release=$release+${distance}_${node}
 fi
 
 if [ "$PYTHONVER" ]; then



To: durin42, #hg-reviewers
Cc: yuja, mercurial-devel


More information about the Mercurial-devel mailing list