Skip to contentSkip to conversation

tools:perf:tests:shell:common This file was missing the shebang line, so added it

PATCH In review Bhaskar Chowdhury 2 participants 2 messages Jul 22, 2025 – Jul 23, 2025 perf events

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 tools:perf:tests:shell:common This file was missing the shebang line, so added it

This file was missing the shebang line, so added it.

---
 tools/perf/tests/shell/common/init.sh | 1 +
 1 file changed, 1 insertion(+)
tools/perf/tests/shell/common/init.sh +1 -0
index 26c7525651e0..9e9d4247ada3 100644
@@ -1,3 +1,4 @@
+#!/bin/sh
 # SPDX-License-Identifier: GPL-2.0
 #
 #	init.sh

--
2.49.1

maintainer
#1 lore raw

Hello,

Quoted 1 line · Bhaskar Chowdhury

This file was missing the shebang line, so added it.

I guess that's because it doesn't intend to be run standalone. IOW it should be included by other files which should have the shebang.

Thanks,
Namhyung

Quoted 18 lines
---
 tools/perf/tests/shell/common/init.sh | 1 +
 1 file changed, 1 insertion(+)
tools/perf/tests/shell/common/init.sh +1 -1
index 26c7525651e0..9e9d4247ada3 100644
@@ -1,3 +1,4 @@
+#!/bin/sh
 # SPDX-License-Identifier: GPL-2.0
 #
 #	init.sh
--

2.49.1