summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorNan Zhou <nanzhoumails@gmail.com>2022-03-25 21:47:55 +0300
committerEd Tanous <ed@tanous.net>2022-03-28 19:56:27 +0300
commit313c1b76d9ad3f36de2be04387934d45b75d85dd (patch)
treec636d70c1ac8d42b4bc264118504ef0385c22917 /scripts
parente76cd86812f29f1153a50c7de177945c7e4fb3e3 (diff)
downloadbmcweb-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.py2
-rwxr-xr-xscripts/parse_registries.py2
-rwxr-xr-xscripts/update_schemas.py2
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