codegen: execute using bash

On Ubuntu 18.04, /bin/sh is symlinked to dash. Executing codegen under
dash results in the following error:

  codegen: Syntax error: "(" unexpected

To prevent this, explicitly use bash.

Test: manual ($ANDROID_BUILD_TOP/development/scripts/codegen --help)
Change-Id: I11bd5e41757a8d26f5e9d7d3340306d5ff4da1f9
This commit is contained in:
Mårten Kongstad
2019-10-04 09:10:36 +02:00
committed by Eugene Susla
parent d36a59147a
commit c0d319a8c3

View File

@@ -1,4 +1,4 @@
#!/bin/sh
#!/usr/bin/env bash
top="$(dirname $0)/../.."