diff mbox series

[6/7] nsdeps: fix hashbang of scripts/nsdeps

Message ID 20190927093603.9140-7-yamada.masahiro@socionext.com
State Superseded
Headers show
Series module: various bug-fixes and clean-ups for module namespace | expand

Commit Message

Masahiro Yamada Sept. 27, 2019, 9:36 a.m. UTC
This script does not use bash-extension. I am guessing this hashbang
was copied from scripts/coccicheck, which really uses bash-extension.

/bin/sh is enough for this script.

Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>

---

 scripts/nsdeps | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

-- 
2.17.1

Comments

Matthias Maennich Sept. 27, 2019, 1:10 p.m. UTC | #1
On Fri, Sep 27, 2019 at 06:36:02PM +0900, Masahiro Yamada wrote:
>This script does not use bash-extension. I am guessing this hashbang

>was copied from scripts/coccicheck, which really uses bash-extension.

>

>/bin/sh is enough for this script.


Reviewed-by: Matthias Maennich <maennich@google.com>


Cheers,
Matthias

>Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>

>---

>

> scripts/nsdeps | 2 +-

> 1 file changed, 1 insertion(+), 1 deletion(-)

>

>diff --git a/scripts/nsdeps b/scripts/nsdeps

>index ac2b6031dd13..964b7fb8c546 100644

>--- a/scripts/nsdeps

>+++ b/scripts/nsdeps

>@@ -1,4 +1,4 @@

>-#!/bin/bash

>+#!/bin/sh

> # SPDX-License-Identifier: GPL-2.0

> # Linux kernel symbol namespace import generator

> #

>-- 

>2.17.1

>
diff mbox series

Patch

diff --git a/scripts/nsdeps b/scripts/nsdeps
index ac2b6031dd13..964b7fb8c546 100644
--- a/scripts/nsdeps
+++ b/scripts/nsdeps
@@ -1,4 +1,4 @@ 
-#!/bin/bash
+#!/bin/sh
 # SPDX-License-Identifier: GPL-2.0
 # Linux kernel symbol namespace import generator
 #