diff options
author | Finn Behrens | 2020-11-23 15:15:33 +0100 |
---|---|---|
committer | Masahiro Yamada | 2020-12-08 23:30:04 +0900 |
commit | c25ce589dca10d64dde139ae093abc258a32869c (patch) | |
tree | c5e640adc75424649375b50a06ba5bea58b8b010 /tools/perf | |
parent | 0477e92881850d44910a7e94fc2c46f96faa131f (diff) |
tweewide: Fix most Shebang lines
Change every shebang which does not need an argument to use /usr/bin/env.
This is needed as not every distro has everything under /usr/bin,
sometimes not even bash.
Signed-off-by: Finn Behrens <me@kloenk.de>
Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
Diffstat (limited to 'tools/perf')
-rwxr-xr-x | tools/perf/python/tracepoint.py | 2 | ||||
-rwxr-xr-x | tools/perf/python/twatch.py | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/tools/perf/python/tracepoint.py b/tools/perf/python/tracepoint.py index eb76f6516247..461848c7f57d 100755 --- a/tools/perf/python/tracepoint.py +++ b/tools/perf/python/tracepoint.py @@ -1,4 +1,4 @@ -#! /usr/bin/python +#! /usr/bin/env python # SPDX-License-Identifier: GPL-2.0 # -*- python -*- # -*- coding: utf-8 -*- diff --git a/tools/perf/python/twatch.py b/tools/perf/python/twatch.py index ff87ccf5b708..04f3db29b9bc 100755 --- a/tools/perf/python/twatch.py +++ b/tools/perf/python/twatch.py @@ -1,4 +1,4 @@ -#! /usr/bin/python +#! /usr/bin/env python # SPDX-License-Identifier: GPL-2.0-only # -*- python -*- # -*- coding: utf-8 -*- |