Skip to content

Instantly share code, notes, and snippets.

@andrewjcg
Created October 24, 2014 04:59
Show Gist options
  • Select an option

  • Save andrewjcg/0b9b18a5b036784092e3 to your computer and use it in GitHub Desktop.

Select an option

Save andrewjcg/0b9b18a5b036784092e3 to your computer and use it in GitHub Desktop.
diff --git tools/default.defs tools/default.defs
index 2239026..5d57d68 100644
--- tools/default.defs
+++ tools/default.defs
@@ -80,7 +80,7 @@ def gerrit_plugin(
type = 'plugin',
visibility = ['PUBLIC']):
from multiprocessing import cpu_count
- mf_cmd = 'v=$(git describe HEAD);'
+ mf_cmd = 'v=\$(git describe HEAD);'
if manifest_file:
mf_src = [manifest_file]
mf_cmd += 'sed "s:@VERSION@:$v:g" $SRCS >$OUT'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment