diff mbox series

target/hexagon/idef-parser/prepare: use env to invoke bash

Message ID 20231123211506.636533-1-sam@rfc1149.net (mailing list archive)
State New, archived
Headers show
Series target/hexagon/idef-parser/prepare: use env to invoke bash | expand

Commit Message

Samuel Tardieu Nov. 23, 2023, 9:15 p.m. UTC
This file is the only one involved in the compilation process which
still uses the /bin/bash path.

Signed-off-by: Samuel Tardieu <sam@rfc1149.net>
---
 target/hexagon/idef-parser/prepare | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Anton Johansson Nov. 24, 2023, 11:10 a.m. UTC | #1
On 23/11/23, Samuel Tardieu wrote:
> This file is the only one involved in the compilation process which
> still uses the /bin/bash path.
> 
> Signed-off-by: Samuel Tardieu <sam@rfc1149.net>
> ---
>  target/hexagon/idef-parser/prepare | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/target/hexagon/idef-parser/prepare b/target/hexagon/idef-parser/prepare
> index 72d6fcbd21..cb3622d4f8 100755
> --- a/target/hexagon/idef-parser/prepare
> +++ b/target/hexagon/idef-parser/prepare
> @@ -1,4 +1,4 @@
> -#!/bin/bash
> +#!/usr/bin/env bash
>  
>  #
>  #  Copyright(c) 2019-2021 rev.ng Labs Srl. All Rights Reserved.
> -- 
> 2.42.0
> 
Reviewed-by: Anton Johansson <anjo@rev.ng>
Philippe Mathieu-Daudé Nov. 28, 2023, 1:14 p.m. UTC | #2
On 23/11/23 22:15, Samuel Tardieu wrote:
> This file is the only one involved in the compilation process which
> still uses the /bin/bash path.
> 
> Signed-off-by: Samuel Tardieu <sam@rfc1149.net>
> ---
>   target/hexagon/idef-parser/prepare | 2 +-
>   1 file changed, 1 insertion(+), 1 deletion(-)

Patch queued, thanks!

Phil.
diff mbox series

Patch

diff --git a/target/hexagon/idef-parser/prepare b/target/hexagon/idef-parser/prepare
index 72d6fcbd21..cb3622d4f8 100755
--- a/target/hexagon/idef-parser/prepare
+++ b/target/hexagon/idef-parser/prepare
@@ -1,4 +1,4 @@ 
-#!/bin/bash
+#!/usr/bin/env bash
 
 #
 #  Copyright(c) 2019-2021 rev.ng Labs Srl. All Rights Reserved.