|
From: | Michael Tokarev |
Subject: | Re: [PATCH] target/hexagon/idef-parser/prepare: use env to invoke bash |
Date: | Mon, 25 Dec 2023 11:05:10 +0300 |
User-agent: | Mozilla Thunderbird |
23.11.2023 23:57, Samuel Tardieu :
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
What's the reason for this indirection? bash has been /bin/bash for decades, it is used this way in many other places in qemu code and in other projects. Yes I know about current move /bin => /usr/bin etc, but the thing is that traditional paths like this one (or like /bin/sh) is not going away any time soon. What's the matter here? /mjt
[Prev in Thread] | Current Thread | [Next in Thread] |