Merge branch 'stable-2.8' into stable-2.9

* stable-2.8:
  Escape dollar sign in plugin manifest entries
This commit is contained in:
Shawn Pearce
2014-03-20 10:15:25 -07:00

View File

@@ -155,6 +155,7 @@ def gerrit_plugin(
mf_cmd += 'echo "Implementation-Version: $v" >>$OUT;'
mf_cmd += 'echo "Implementation-Vendor: Gerrit Code Review" >>$OUT'
for line in manifest_entries:
line = line.replace('$', '\$')
mf_cmd += ';echo "%s" >> $OUT' % line
genrule(
name = name + '__manifest',