diff options
author | Nan Zhou <nanzhoumails@gmail.com> | 2022-03-25 21:47:55 +0300 |
---|---|---|
committer | Ed Tanous <ed@tanous.net> | 2022-03-28 19:56:27 +0300 |
commit | 313c1b76d9ad3f36de2be04387934d45b75d85dd (patch) | |
tree | c636d70c1ac8d42b4bc264118504ef0385c22917 /scripts | |
parent | e76cd86812f29f1153a50c7de177945c7e4fb3e3 (diff) | |
download | bmcweb-313c1b76d9ad3f36de2be04387934d45b75d85dd.tar.xz |
script: specify the interpreter to env
Env is generally more portable than hardcoding path.
This change also keeps all scripts consistent.
Tested: all can run directly.
Signed-off-by: Nan Zhou <nanzhoumails@gmail.com>
Change-Id: Ia2636420e54fae24a5a339377de65957ed40cc7e
Diffstat (limited to 'scripts')
-rwxr-xr-x[-rw-r--r--] | scripts/check_base_registry.py | 2 | ||||
-rwxr-xr-x | scripts/parse_registries.py | 2 | ||||
-rwxr-xr-x | scripts/update_schemas.py | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/scripts/check_base_registry.py b/scripts/check_base_registry.py index ab4b2e66b8..1db533a09d 100644..100755 --- a/scripts/check_base_registry.py +++ b/scripts/check_base_registry.py @@ -1,4 +1,4 @@ -#!/usr/bin/python3 +#!/usr/bin/env python3 import argparse import json diff --git a/scripts/parse_registries.py b/scripts/parse_registries.py index e0eaa3f5bd..378684392a 100755 --- a/scripts/parse_registries.py +++ b/scripts/parse_registries.py @@ -1,4 +1,4 @@ -#!/usr/bin/python3 +#!/usr/bin/env python3 import requests import zipfile from io import BytesIO diff --git a/scripts/update_schemas.py b/scripts/update_schemas.py index f324967dbf..01531c8cae 100755 --- a/scripts/update_schemas.py +++ b/scripts/update_schemas.py @@ -1,4 +1,4 @@ -#!/usr/bin/python3 +#!/usr/bin/env python3 import requests import zipfile from io import BytesIO |