This is an automated email from the ASF dual-hosted git repository.

xiaoxiang pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/nuttx.git


The following commit(s) were added to refs/heads/master by this push:
     new 833f7a5a3e Updated python scripts interpreter invocation in `tools/`.
833f7a5a3e is described below

commit 833f7a5a3e1c9c08da51b0f723ca05bc94c79f7c
Author: Tomasz 'CeDeROM' CEDRO <to...@cedro.info>
AuthorDate: Sun Feb 19 04:33:21 2023 +0100

    Updated python scripts interpreter invocation in `tools/`.
    
    * Using call to portable `#!/usr/bin/env python3` syntax.
    * Updated python interpreter call in `tools/ci/testrun` (please verify).
    
    Signed-off-by: Tomasz 'CeDeROM' CEDRO <to...@cedro.info>
---
 tools/ci/testrun/script/__init__.py                  | 2 +-
 tools/ci/testrun/script/conftest.py                  | 2 +-
 tools/ci/testrun/script/test_example/__init__.py     | 2 +-
 tools/ci/testrun/script/test_example/test_example.py | 2 +-
 tools/ci/testrun/script/test_os/__init__.py          | 2 +-
 tools/ci/testrun/script/test_os/test_os.py           | 2 +-
 tools/ci/testrun/utils/__init__.py                   | 2 +-
 tools/ci/testrun/utils/common.py                     | 2 +-
 tools/discover.py                                    | 2 +-
 tools/ide_exporter.py                                | 2 +-
 tools/mkallsyms.py                                   | 2 +-
 tools/parsecallstack.py                              | 2 +-
 tools/parsememdump.py                                | 2 +-
 tools/xmlrpc_test.py                                 | 2 +-
 14 files changed, 14 insertions(+), 14 deletions(-)

diff --git a/tools/ci/testrun/script/__init__.py 
b/tools/ci/testrun/script/__init__.py
index f18cc000eb..30983c7bef 100644
--- a/tools/ci/testrun/script/__init__.py
+++ b/tools/ci/testrun/script/__init__.py
@@ -1,2 +1,2 @@
-#!/usr/bin/python3
+#!/usr/bin/env python3
 # encoding: utf-8
diff --git a/tools/ci/testrun/script/conftest.py 
b/tools/ci/testrun/script/conftest.py
index 6f12f284ea..d578c8d592 100644
--- a/tools/ci/testrun/script/conftest.py
+++ b/tools/ci/testrun/script/conftest.py
@@ -1,4 +1,4 @@
-#!/usr/bin/python3
+#!/usr/bin/env python3
 # encoding: utf-8
 
 import pytest
diff --git a/tools/ci/testrun/script/test_example/__init__.py 
b/tools/ci/testrun/script/test_example/__init__.py
index f18cc000eb..30983c7bef 100644
--- a/tools/ci/testrun/script/test_example/__init__.py
+++ b/tools/ci/testrun/script/test_example/__init__.py
@@ -1,2 +1,2 @@
-#!/usr/bin/python3
+#!/usr/bin/env python3
 # encoding: utf-8
diff --git a/tools/ci/testrun/script/test_example/test_example.py 
b/tools/ci/testrun/script/test_example/test_example.py
index 596626ec4e..629c1db172 100644
--- a/tools/ci/testrun/script/test_example/test_example.py
+++ b/tools/ci/testrun/script/test_example/test_example.py
@@ -1,4 +1,4 @@
-#!/usr/bin/python3
+#!/usr/bin/env python3
 # encoding: utf-8
 import pytest
 
diff --git a/tools/ci/testrun/script/test_os/__init__.py 
b/tools/ci/testrun/script/test_os/__init__.py
index f18cc000eb..30983c7bef 100644
--- a/tools/ci/testrun/script/test_os/__init__.py
+++ b/tools/ci/testrun/script/test_os/__init__.py
@@ -1,2 +1,2 @@
-#!/usr/bin/python3
+#!/usr/bin/env python3
 # encoding: utf-8
diff --git a/tools/ci/testrun/script/test_os/test_os.py 
b/tools/ci/testrun/script/test_os/test_os.py
index 4495649d54..1d34fde79f 100644
--- a/tools/ci/testrun/script/test_os/test_os.py
+++ b/tools/ci/testrun/script/test_os/test_os.py
@@ -1,4 +1,4 @@
-#!/usr/bin/python3
+#!/usr/bin/env python3
 # encoding: utf-8
 import pytest
 
diff --git a/tools/ci/testrun/utils/__init__.py 
b/tools/ci/testrun/utils/__init__.py
index f18cc000eb..30983c7bef 100644
--- a/tools/ci/testrun/utils/__init__.py
+++ b/tools/ci/testrun/utils/__init__.py
@@ -1,2 +1,2 @@
-#!/usr/bin/python3
+#!/usr/bin/env python3
 # encoding: utf-8
diff --git a/tools/ci/testrun/utils/common.py b/tools/ci/testrun/utils/common.py
index c1f5db7a0f..63ff550e7d 100644
--- a/tools/ci/testrun/utils/common.py
+++ b/tools/ci/testrun/utils/common.py
@@ -1,4 +1,4 @@
-#!/usr/bin/python3
+#!/usr/bin/env python3
 
 import os
 import re
diff --git a/tools/discover.py b/tools/discover.py
index 140ca01cef..dc41e8e39e 100755
--- a/tools/discover.py
+++ b/tools/discover.py
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 ############################################################################
 # tools/discover.py
 #
diff --git a/tools/ide_exporter.py b/tools/ide_exporter.py
index 4864bf9dbf..602896b3d0 100755
--- a/tools/ide_exporter.py
+++ b/tools/ide_exporter.py
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 ############################################################################
 # tools/ide_exporter.py
 #
diff --git a/tools/mkallsyms.py b/tools/mkallsyms.py
index f67e7445f4..c7051de9ee 100755
--- a/tools/mkallsyms.py
+++ b/tools/mkallsyms.py
@@ -1,4 +1,4 @@
-#!/usr/bin/python3
+#!/usr/bin/env python3
 ############################################################################
 # tools/mkallsyms.py
 #
diff --git a/tools/parsecallstack.py b/tools/parsecallstack.py
index a88f744d85..4975a34abc 100755
--- a/tools/parsecallstack.py
+++ b/tools/parsecallstack.py
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 # tools/parsecallstack.py
 #
 # Licensed to the Apache Software Foundation (ASF) under one or more
diff --git a/tools/parsememdump.py b/tools/parsememdump.py
index ecb3b99d35..5b8e9540a1 100644
--- a/tools/parsememdump.py
+++ b/tools/parsememdump.py
@@ -1,4 +1,4 @@
-#!/usr/bin/python3
+#!/usr/bin/env python3
 # tools/parsememdump.py
 #
 # Licensed to the Apache Software Foundation (ASF) under one or more
diff --git a/tools/xmlrpc_test.py b/tools/xmlrpc_test.py
index ab3e2181c7..3bd7e1667a 100755
--- a/tools/xmlrpc_test.py
+++ b/tools/xmlrpc_test.py
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 ############################################################################
 # tools/xmlrpc_test.py
 #

Reply via email to