[linux-yocto] [PATCH] ver_linux: Use /usr/bin/awk instead of /bin/awk

Bruce Ashfield bruce.ashfield at windriver.com
Sun Jan 29 20:04:24 PST 2017


On 2017-01-25 1:35 PM, Saul Wold wrote:
> Most Linux distributions contain awk in /usr/bin by default, not
> in /bin.
>

As Paul mentioned, this is worth sending upstream .. at least to
see what they have to say about it.

I've gone ahead and merged it to the 4.9 linux-yocto tree while
we wait.

Cheers,

Bruce

> Signed-off-by: Saul Wold <sgw at linux.intel.com>
> ---
>  scripts/ver_linux | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/scripts/ver_linux b/scripts/ver_linux
> index 430b201..b51de8a 100755
> --- a/scripts/ver_linux
> +++ b/scripts/ver_linux
> @@ -1,4 +1,4 @@
> -#!/bin/awk -f
> +#!/usr/bin/awk -f
>  # Before running this script please ensure that your PATH is
>  # typical as you use for compilation/installation. I use
>  # /bin /sbin /usr/bin /usr/sbin /usr/local/bin, but it may
>



More information about the linux-yocto mailing list