Fix a bug in generateNoticeRule.

A $ sign was missing in some commands, which caused an error to mac
builds.

Test: TreeHugger
Fixes: 137364089
Change-Id: Iabd03ed4053d1179fa65a66d1615fcdf279fba12
This commit is contained in:
Jaewoong Jung 2019-07-15 10:57:26 -07:00
parent b940a1499b
commit 825c8143f5

View file

@ -42,8 +42,8 @@ var (
}) })
generateNoticeRule = pctx.AndroidStaticRule("generateNoticeRule", blueprint.RuleParams{ generateNoticeRule = pctx.AndroidStaticRule("generateNoticeRule", blueprint.RuleParams{
Command: `rm -rf $$(dirname $txtOut) $$(dirname htmlOut) $$(dirname $out) && ` + Command: `rm -rf $$(dirname $txtOut) $$(dirname $htmlOut) $$(dirname $out) && ` +
`mkdir -p $$(dirname $txtOut) $$(dirname htmlOut) $$(dirname $out) && ` + `mkdir -p $$(dirname $txtOut) $$(dirname $htmlOut) $$(dirname $out) && ` +
`${generate_notice} --text-output $txtOut --html-output $htmlOut -t "$title" -s $inputDir && ` + `${generate_notice} --text-output $txtOut --html-output $htmlOut -t "$title" -s $inputDir && ` +
`${minigzip} -c $htmlOut > $out`, `${minigzip} -c $htmlOut > $out`,
CommandDeps: []string{"${generate_notice}", "${minigzip}"}, CommandDeps: []string{"${generate_notice}", "${minigzip}"},