]> git.ipfire.org Git - thirdparty/kernel/stable.git/commitdiff
sysctl: Nixify sysctl.sh
authorJoel Granados <joel.granados@kernel.org>
Thu, 26 Jun 2025 12:48:08 +0000 (14:48 +0200)
committerJoel Granados <joel.granados@kernel.org>
Wed, 23 Jul 2025 09:56:02 +0000 (11:56 +0200)
Use "#!/usr/bin/env bash" instead of "#!/bin/bash". Needed for testing
in nix environments as they only provide /usr/bin/env at the standard
location.

Signed-off-by: Joel Granados <joel.granados@kernel.org>
tools/testing/selftests/sysctl/sysctl.sh

index a10350c8a46e42691f4f89763bc3e2d3dc270097..b2d8bd9026a721e96c26be20069f7f87b06a5cf7 100755 (executable)
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
 # SPDX-License-Identifier: GPL-2.0-or-later OR copyleft-next-0.3.1
 # Copyright (C) 2017 Luis R. Rodriguez <mcgrof@kernel.org>