Skip to content

Commit

Permalink
Fix shebang for protoc-gen-mypy.sh script (onnx#4568)
Browse files Browse the repository at this point in the history
Signed-off-by: Gaetan Lepage <gaetan@glepage.com>

Signed-off-by: Gaetan Lepage <gaetan@glepage.com>
Co-authored-by: Chun-Wei Chen <jacky82226@gmail.com>
  • Loading branch information
2 people authored and Bjarke Roune committed May 6, 2023
1 parent 95ad838 commit f0f64ca
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/protoc-gen-mypy.sh.in
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit f0f64ca

Please sign in to comment.