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

Bhaskar Chowdhury posted 1 patch 2 months, 2 weeks ago
There is a newer version of this series
tools/perf/tests/shell/common/init.sh | 1 +
1 file changed, 1 insertion(+)
[PATCH] tools:perf:tests:shell:common This file was missing the shebang line, so added it
Posted by Bhaskar Chowdhury 2 months, 2 weeks ago
This file was missing the shebang line, so added it.

Signed-off-by: Bhaskar Chowdhury <unixbhaskar@gmail.com>
---
 tools/perf/tests/shell/common/init.sh | 1 +
 1 file changed, 1 insertion(+)

diff --git a/tools/perf/tests/shell/common/init.sh b/tools/perf/tests/shell/common/init.sh
index 26c7525651e0..9e9d4247ada3 100644
--- a/tools/perf/tests/shell/common/init.sh
+++ b/tools/perf/tests/shell/common/init.sh
@@ -1,3 +1,4 @@
+#!/bin/sh
 # SPDX-License-Identifier: GPL-2.0
 #
 #	init.sh
--
2.49.1
Re: [PATCH] tools:perf:tests:shell:common This file was missing the shebang line, so added it
Posted by Namhyung Kim 2 months, 2 weeks ago
Hello,

On Wed, Jul 23, 2025 at 04:02:24AM +0530, Bhaskar Chowdhury wrote:
> 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

> 
> Signed-off-by: Bhaskar Chowdhury <unixbhaskar@gmail.com>
> ---
>  tools/perf/tests/shell/common/init.sh | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/tools/perf/tests/shell/common/init.sh b/tools/perf/tests/shell/common/init.sh
> index 26c7525651e0..9e9d4247ada3 100644
> --- a/tools/perf/tests/shell/common/init.sh
> +++ b/tools/perf/tests/shell/common/init.sh
> @@ -1,3 +1,4 @@
> +#!/bin/sh
>  # SPDX-License-Identifier: GPL-2.0
>  #
>  #	init.sh
> --
> 2.49.1
>