Makefile: Add shebang presubmit check.
Add a presubmit check to check if all shebangs are in the white list.
Also revise the shebangs to pass the check.
BUG=chromium:798276
TEST=make presubmit-shebang
Change-Id: I32cea5ca91d65ea05400c5459fb053c131d2ceb0
Reviewed-on: https://chromium-review.googlesource.com/848480
Commit-Ready: Youcheng Syu <youcheng@chromium.org>
Tested-by: Youcheng Syu <youcheng@chromium.org>
Reviewed-by: Pi-Hsun Shih <pihsun@chromium.org>
diff --git a/py/toolkit/installer.py b/py/toolkit/installer.py
index f85b50a..3acc01f 100755
--- a/py/toolkit/installer.py
+++ b/py/toolkit/installer.py
@@ -1,4 +1,4 @@
-#!/usr/bin/python -Bu
+#!/usr/bin/env python
#
# Copyright 2014 The Chromium OS Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be