[PATCH] arch:powerpc:tools This file was missing shebang line, so added it

Bhaskar Chowdhury posted 1 patch 2 months, 2 weeks ago
arch/powerpc/tools/head_check.sh | 1 +
1 file changed, 1 insertion(+)
[PATCH] arch:powerpc:tools This file was missing 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>
---
 arch/powerpc/tools/head_check.sh | 1 +
 1 file changed, 1 insertion(+)

diff --git a/arch/powerpc/tools/head_check.sh b/arch/powerpc/tools/head_check.sh
index 689907cda996..a9cd06958921 100644
--- a/arch/powerpc/tools/head_check.sh
+++ b/arch/powerpc/tools/head_check.sh
@@ -1,3 +1,4 @@
+#!/bin/sh
 # Copyright © 2016 IBM Corporation

 # This program is free software; you can redistribute it and/or
--
2.49.1

Re: [PATCH] arch:powerpc:tools This file was missing shebang line, so added it
Posted by Stephen Rothwell 2 months, 2 weeks ago
Hi Bhaskar,

On Wed, 23 Jul 2025 03:29:36 +0530 Bhaskar Chowdhury <unixbhaskar@gmail.com> wrote:
>
> This file was missing the shebang line, so added it.
> 
> Signed-off-by: Bhaskar Chowdhury <unixbhaskar@gmail.com>
> ---
>  arch/powerpc/tools/head_check.sh | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/arch/powerpc/tools/head_check.sh b/arch/powerpc/tools/head_check.sh
> index 689907cda996..a9cd06958921 100644
> --- a/arch/powerpc/tools/head_check.sh
> +++ b/arch/powerpc/tools/head_check.sh
> @@ -1,3 +1,4 @@
> +#!/bin/sh
>  # Copyright © 2016 IBM Corporation
> 
>  # This program is free software; you can redistribute it and/or

Reviewed-by: Stephen Rothwell <sfr@canb.auug.org.au>

I used "shellcheck -s sh" to double check that it is in fact a bourne
shell script and it is invoked with $(CONFIG_SHELL), so it had better
be :-)

-- 
Cheers,
Stephen Rothwell
Re: [PATCH] arch:powerpc:tools This file was missing shebang line, so added it
Posted by Bhaskar Chowdhury 2 months, 2 weeks ago
On 09:22 Wed 23 Jul 2025, Stephen Rothwell wrote:
>Hi Bhaskar,
>
>On Wed, 23 Jul 2025 03:29:36 +0530 Bhaskar Chowdhury <unixbhaskar@gmail.com> wrote:
>>
>> This file was missing the shebang line, so added it.
>>
>> Signed-off-by: Bhaskar Chowdhury <unixbhaskar@gmail.com>
>> ---
>>  arch/powerpc/tools/head_check.sh | 1 +
>>  1 file changed, 1 insertion(+)
>>
>> diff --git a/arch/powerpc/tools/head_check.sh b/arch/powerpc/tools/head_check.sh
>> index 689907cda996..a9cd06958921 100644
>> --- a/arch/powerpc/tools/head_check.sh
>> +++ b/arch/powerpc/tools/head_check.sh
>> @@ -1,3 +1,4 @@
>> +#!/bin/sh
>>  # Copyright © 2016 IBM Corporation
>>
>>  # This program is free software; you can redistribute it and/or
>
>Reviewed-by: Stephen Rothwell <sfr@canb.auug.org.au>
>
>I used "shellcheck -s sh" to double check that it is in fact a bourne
>shell script and it is invoked with $(CONFIG_SHELL), so it had better
>be :-)
>
Hi Stephen,

I will make sure to check like that, next time onwards. Thanks for the
headsup. :)
>--
>Cheers,
>Stephen Rothwell



--
Thanks,
Bhaskar

"Here's looking at you kid"-- Casablanca
https://about.me/unixbhaskar