author: Nishanth Menon <nm@ti.com> 2021-07-07 16:06:00 -0500
committer: Greg Kroah-Hartman <gregkh@linuxfoundation.org> 2021-07-21 15:59:32 +0200
commit: 03b1292d1c0ea195e025e667555d74db7da82026
parent: 74a03c20bc8809a41d66ea614e55358064adbd7d
Commit Summary:
Diffstat:
1 file changed, 6 insertions, 8 deletions
diff --git a/scripts/spdxcheck-test.sh b/scripts/spdxcheck-test.sh
index cfea6a0d1cc0..cb76324756bd 100644
--- a/scripts/spdxcheck-test.sh
+++ b/scripts/spdxcheck-test.sh
@@ -1,12 +1,10 @@
#!/bin/sh
-for PYTHON in python2 python3; do
- # run check on a text and a binary file
- for FILE in Makefile Documentation/logo.gif; do
- $PYTHON scripts/spdxcheck.py $FILE
- $PYTHON scripts/spdxcheck.py - < $FILE
- done
-
- # run check on complete tree to catch any other issues
- $PYTHON scripts/spdxcheck.py > /dev/null
+# run check on a text and a binary file
+for FILE in Makefile Documentation/logo.gif; do
+ python3 scripts/spdxcheck.py $FILE
+ python3 scripts/spdxcheck.py - < $FILE
done
+
+# run check on complete tree to catch any other issues
+python3 scripts/spdxcheck.py > /dev/null