diff --git a/dexpreopt/dexpreopt_gen/dexpreopt_gen.go b/dexpreopt/dexpreopt_gen/dexpreopt_gen.go index c010056ab..46d8795a8 100644 --- a/dexpreopt/dexpreopt_gen/dexpreopt_gen.go +++ b/dexpreopt/dexpreopt_gen/dexpreopt_gen.go @@ -104,6 +104,7 @@ func writeScripts(global dexpreopt.GlobalConfig, module dexpreopt.ModuleConfig, installDir := filepath.Join(filepath.Dir(module.BuildPath), "dexpreopt_install") dexpreoptRule.Command().FlagWithArg("rm -rf ", installDir) + dexpreoptRule.Command().FlagWithArg("mkdir -p ", installDir) for _, install := range dexpreoptRule.Installs() { installPath := filepath.Join(installDir, install.To)