use python3 on debians too (#3812)
* use python3 on debians too in Debian 11 which is Bullseye, /usr/bin/python is a Python2 interpreter, which means that cppcheck-htmlreport fails to run here. So I've chenged the shebang to use python3 * change all shebangs from python to python3 Co-authored-by: Sam M W <smw@alertergroup.co.uk>
This commit is contained in:
parent
2c53b73e1b
commit
6488650d24
|
@ -1,4 +1,4 @@
|
||||||
#!/usr/bin/env python
|
#!/usr/bin/env python3
|
||||||
|
|
||||||
from __future__ import unicode_literals
|
from __future__ import unicode_literals
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
#!/usr/bin/env python
|
#!/usr/bin/env python3
|
||||||
|
|
||||||
from setuptools import setup
|
from setuptools import setup
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
#!/usr/bin/env python
|
#!/usr/bin/env python3
|
||||||
"""Test cppcheck-htmlreport."""
|
"""Test cppcheck-htmlreport."""
|
||||||
|
|
||||||
import os
|
import os
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
#!/usr/bin/env python
|
#!/usr/bin/env python3
|
||||||
import os
|
import os
|
||||||
import re
|
import re
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
#!/usr/bin/env python
|
#!/usr/bin/env python3
|
||||||
|
|
||||||
# continuous integration
|
# continuous integration
|
||||||
# build daily reports (doxygen,coverage,etc)
|
# build daily reports (doxygen,coverage,etc)
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
#!/usr/bin/env python
|
#!/usr/bin/env python3
|
||||||
#
|
#
|
||||||
# Cppcheck - A tool for static C/C++ code analysis
|
# Cppcheck - A tool for static C/C++ code analysis
|
||||||
# Copyright (C) 2007-2021 Cppcheck team.
|
# Copyright (C) 2007-2021 Cppcheck team.
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
#!/usr/bin/env python
|
#!/usr/bin/env python3
|
||||||
from __future__ import print_function
|
from __future__ import print_function
|
||||||
import argparse
|
import argparse
|
||||||
import xml.etree.ElementTree as ET
|
import xml.etree.ElementTree as ET
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
#!/usr/bin/env python
|
#!/usr/bin/env python3
|
||||||
#
|
#
|
||||||
# Cppcheck - A tool for static C/C++ code analysis
|
# Cppcheck - A tool for static C/C++ code analysis
|
||||||
# Copyright (C) 2007-2021 Cppcheck team.
|
# Copyright (C) 2007-2021 Cppcheck team.
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
#!/usr/bin/env python
|
#!/usr/bin/env python3
|
||||||
|
|
||||||
import glob
|
import glob
|
||||||
import os
|
import os
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
#!/usr/bin/env python
|
#!/usr/bin/env python3
|
||||||
import subprocess
|
import subprocess
|
||||||
import sys
|
import sys
|
||||||
import time
|
import time
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
#!/usr/bin/env python
|
#!/usr/bin/env python3
|
||||||
#
|
#
|
||||||
# Cppcheck - A tool for static C/C++ code analysis
|
# Cppcheck - A tool for static C/C++ code analysis
|
||||||
# Copyright (C) 2007-2021 Cppcheck team.
|
# Copyright (C) 2007-2021 Cppcheck team.
|
||||||
|
|
Loading…
Reference in New Issue