summaryrefslogtreecommitdiffstats
path: root/src/tools/vppapigen
diff options
context:
space:
mode:
authorNathan Skrzypczak <nathan.skrzypczak@gmail.com>2019-09-09 16:45:06 +0200
committerAndrew Yourtchenko <ayourtch@gmail.com>2019-09-30 15:19:53 +0000
commit2af93b2643cbc5612fba847194d4e844daeead8a (patch)
treedc10f262aed1224b263f94f57ee9b9c96e5c0031 /src/tools/vppapigen
parente6b29a9df5df39204f6235256fc07a703c2d0336 (diff)
misc: fix shebang with missing env
This is needed for macos where /usr/bin/python[23] does not exist and /usr/bin is write protected Type: fix Change-Id: Ia1b3c732248c78482993de532fa2ea96e376d90a Signed-off-by: Nathan Skrzypczak <nathan.skrzypczak@gmail.com> (cherry picked from commit 5c2f96436afd0cef13797f764474a54f464d7916)
Diffstat (limited to 'src/tools/vppapigen')
-rwxr-xr-xsrc/tools/vppapigen/vppapigen.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tools/vppapigen/vppapigen.py b/src/tools/vppapigen/vppapigen.py
index 5b70d0ae329..e6a0bdc7f19 100755
--- a/src/tools/vppapigen/vppapigen.py
+++ b/src/tools/vppapigen/vppapigen.py
@@ -1,4 +1,4 @@
-#!/usr/bin/python3
+#!/usr/bin/env python3
import ply.lex as lex
import ply.yacc as yacc