From f0f64caa39fbc603939b24910f1a98fb0e3823fd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ga=C3=A9tan=20Lepage?= <33058747+GaetanLepage@users.noreply.github.com> Date: Mon, 3 Oct 2022 18:50:24 +0200 Subject: [PATCH] Fix shebang for protoc-gen-mypy.sh script (#4568) Signed-off-by: Gaetan Lepage Signed-off-by: Gaetan Lepage Co-authored-by: Chun-Wei Chen --- tools/protoc-gen-mypy.sh.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/protoc-gen-mypy.sh.in b/tools/protoc-gen-mypy.sh.in index d83262be194..6231cb290a8 100644 --- a/tools/protoc-gen-mypy.sh.in +++ b/tools/protoc-gen-mypy.sh.in @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null 2>&1 && pwd )" # use PYTHON_EXECUTABLE from CMake to get the right python to execute "@PYTHON_EXECUTABLE@" -u "$DIR"/protoc-gen-mypy.py