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

Samuel Tardieu posted 1 patch 1 year ago
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/qemu tags/patchew/20231123211506.636533-1-sam@rfc1149.net
Maintainers: Alessandro Di Federico <ale@rev.ng>, Anton Johansson <anjo@rev.ng>
target/hexagon/idef-parser/prepare | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
[PATCH] target/hexagon/idef-parser/prepare: use env to invoke bash
Posted by Samuel Tardieu 1 year ago
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
Re: [PATCH] target/hexagon/idef-parser/prepare: use env to invoke bash
Posted by Philippe Mathieu-Daudé 12 months ago
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.
Re: [PATCH] target/hexagon/idef-parser/prepare: use env to invoke bash
Posted by Anton Johansson via 1 year ago
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>
Re: [PATCH] target/hexagon/idef-parser/prepare: use env to invoke bash
Posted by Philippe Mathieu-Daudé 1 year ago
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(-)

Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>