From 825c8143f56efdd5ffaf15167c8bb7edf170bf60 Mon Sep 17 00:00:00 2001 From: Jaewoong Jung Date: Mon, 15 Jul 2019 10:57:26 -0700 Subject: [PATCH] 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 --- android/notices.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/android/notices.go b/android/notices.go index 850359328..7b61d65ba 100644 --- a/android/notices.go +++ b/android/notices.go @@ -42,8 +42,8 @@ var ( }) generateNoticeRule = pctx.AndroidStaticRule("generateNoticeRule", blueprint.RuleParams{ - Command: `rm -rf $$(dirname $txtOut) $$(dirname htmlOut) $$(dirname $out) && ` + - `mkdir -p $$(dirname $txtOut) $$(dirname htmlOut) $$(dirname $out) && ` + + Command: `rm -rf $$(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 && ` + `${minigzip} -c $htmlOut > $out`, CommandDeps: []string{"${generate_notice}", "${minigzip}"},