From: Nathan Skrzypczak Date: Mon, 9 Sep 2019 14:45:06 +0000 (+0200) Subject: misc: fix shebang with missing env X-Git-Tag: v20.05-rc0~867 X-Git-Url: https://gerrit.fd.io/r/gitweb?a=commitdiff_plain;h=5c2f96436afd0cef13797f764474a54f464d7916;p=vpp.git 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 --- diff --git a/src/plugins/nat/extras/nat_static_gen_cfg.py b/src/plugins/nat/extras/nat_static_gen_cfg.py index ff6312aecf6..a8e609cb278 100755 --- a/src/plugins/nat/extras/nat_static_gen_cfg.py +++ b/src/plugins/nat/extras/nat_static_gen_cfg.py @@ -1,4 +1,4 @@ -#! /usr/bin/python +#!/usr/bin/env python import ipaddress import argparse diff --git a/src/tools/vppapigen/vppapigen.py b/src/tools/vppapigen/vppapigen.py index d0391cd7a37..2a939647c67 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