summaryrefslogtreecommitdiff
path: root/tools/testing/selftests/kselftest
diff options
context:
space:
mode:
authorFinn Behrens <me@kloenk.de>2020-11-23 17:15:33 +0300
committerMasahiro Yamada <masahiroy@kernel.org>2020-12-08 17:30:04 +0300
commitc25ce589dca10d64dde139ae093abc258a32869c (patch)
treec5e640adc75424649375b50a06ba5bea58b8b010 /tools/testing/selftests/kselftest
parent0477e92881850d44910a7e94fc2c46f96faa131f (diff)
downloadlinux-c25ce589dca10d64dde139ae093abc258a32869c.tar.xz
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/testing/selftests/kselftest')
-rwxr-xr-xtools/testing/selftests/kselftest/prefix.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/testing/selftests/kselftest/prefix.pl b/tools/testing/selftests/kselftest/prefix.pl
index 31f7c2a0a8bd..12a7f4ca2684 100755
--- a/tools/testing/selftests/kselftest/prefix.pl
+++ b/tools/testing/selftests/kselftest/prefix.pl
@@ -1,4 +1,4 @@
-#!/usr/bin/perl
+#!/usr/bin/env perl
# SPDX-License-Identifier: GPL-2.0
# Prefix all lines with "# ", unbuffered. Command being piped in may need
# to have unbuffering forced with "stdbuf -i0 -o0 -e0 $cmd".