]> www.infradead.org Git - users/hch/misc.git/commitdiff
tests/module: nix-ify
authorJoel Granados <joel.granados@kernel.org>
Wed, 22 Jan 2025 10:33:49 +0000 (11:33 +0100)
committerPetr Pavlu <petr.pavlu@suse.com>
Mon, 10 Mar 2025 10:54:13 +0000 (11:54 +0100)
Use "#!/usr/bin/env bash" instead of "#!/bin/bash". This is necessary
for nix environments as they only provide /usr/bin/env at the standard
location.

Signed-off-by: Joel Granados <joel.granados@kernel.org>
Acked-by: Luis Chamberlain <mcgrof@kernel.org>
Link: https://lore.kernel.org/r/20250122-jag-nix-ify-v1-1-addb3170f93c@kernel.org
Signed-off-by: Petr Pavlu <petr.pavlu@suse.com>
lib/tests/module/gen_test_kallsyms.sh

index 561dcac0f359c1305fe92e0db8853b9288ecc602..31fe4ed63de83e768dff23878f6269ad55a38334 100755 (executable)
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
 
 TARGET=$(basename $1)
 DIR=lib/tests/module