Skip to content
Snippets Groups Projects
Commit c68cfc55 authored by durin42's avatar durin42
Browse files

buildrpm: fix embarassing bug in shell variable expansions

`$distance_$node` looks up and concatenates `$distance_` and
`$node`. `$distance_` is empty, so we were getting the node without
the distance. Using the curly braces makes our intent explicit and
produces better-versioned RPMS.

Differential Revision: https://phab.mercurial-scm.org/D4493
parent 094d1f42
No related branches found
No related tags found
No related merge requests found
......@@ -59,7 +59,7 @@
fi
if [ -n "$distance" ] ; then
release=$release+$distance_$node
release=$release+${distance}_${node}
fi
if [ "$PYTHONVER" ]; then
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment