use continue_dashcam for dashcam installer

This commit is contained in:
Adeeb Shihadeh
2021-08-03 00:04:43 -07:00
parent 3a53a7b84b
commit 3129e058f8
2 changed files with 3 additions and 2 deletions

View File

@@ -78,7 +78,8 @@ if arch != 'aarch64' and GetOption('setup'):
("dashcam_test", "dashcam3-staging"),
]
for name, branch in installers:
d = {'BRANCH': f"'\"{branch}\"'"}
brand = "dashcam" if "dashcam" in branch else "openpilot"
d = {'BRANCH': f"'\"{branch}\"'", 'CONTINUE_SRC_PATH': f"'\"installer/continue_{brand}.sh\"'"}
if "internal" in name:
d['INTERNAL'] = "1"