From 21aa7c0cf012112e03a4be242543a2d8df004718 Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Tue, 6 May 2025 14:06:07 -0400 Subject: [PATCH] change shebang to python3 Some distros, like Debian, have been moving in the direction of dropping /usr/bin/python by default and only providing /usr/bin/python3. This causes the cpplint tools to fail by default when run with system versions. Switch over to python3 to try and work out of the box by default more. --- cpplint.py | 2 +- cpplint_clitest.py | 2 +- cpplint_unittest.py | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/cpplint.py b/cpplint.py index 4573d89..e400b05 100755 --- a/cpplint.py +++ b/cpplint.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 # # Copyright (c) 2009 Google Inc. All rights reserved. # diff --git a/cpplint_clitest.py b/cpplint_clitest.py index b20566f..7cb2047 100755 --- a/cpplint_clitest.py +++ b/cpplint_clitest.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 # # Copyright (c) 2009 Google Inc. All rights reserved. # diff --git a/cpplint_unittest.py b/cpplint_unittest.py index 730babd..e36093f 100755 --- a/cpplint_unittest.py +++ b/cpplint_unittest.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 # # Copyright (c) 2009 Google Inc. All rights reserved. #