[Mesa-dev] [PATCH 23/37] gallium/tools: do not hardcode bash location
Andreas Boll
andreas.boll.dev at gmail.com
Fri Feb 24 15:00:41 UTC 2017
Reviewed-by: Andreas Boll <andreas.boll.dev at gmail.com>
2017-02-23 18:13 GMT+01:00 Emil Velikov <emil.l.velikov at gmail.com>:
> It is not guaranteed to be in /bin
>
> Signed-off-by: Emil Velikov <emil.velikov at collabora.com>
> ---
> src/gallium/tools/addr2line.sh | 2 +-
> src/gallium/tools/trace/tracediff.sh | 2 +-
> 2 files changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/src/gallium/tools/addr2line.sh b/src/gallium/tools/addr2line.sh
> index 34dec14271..8d7b9cb9d9 100755
> --- a/src/gallium/tools/addr2line.sh
> +++ b/src/gallium/tools/addr2line.sh
> @@ -1,4 +1,4 @@
> -#!/bin/bash
> +#!/usr/bin/env bash
> # This script processes symbols output by Gallium using glibc to human-readable function names
>
> lastbin=
> diff --git a/src/gallium/tools/trace/tracediff.sh b/src/gallium/tools/trace/tracediff.sh
> index c7827c0ff1..dccb7a3d51 100755
> --- a/src/gallium/tools/trace/tracediff.sh
> +++ b/src/gallium/tools/trace/tracediff.sh
> @@ -1,4 +1,4 @@
> -#!/bin/bash
> +#!/usr/bin/env bash
> ##########################################################################
> #
> # Copyright 2011 Jose Fonseca
> --
> 2.11.0
>
> _______________________________________________
> mesa-dev mailing list
> mesa-dev at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/mesa-dev
More information about the mesa-dev
mailing list