From: Emil Velikov Date: Wed, 22 Feb 2017 16:19:44 +0000 (+0000) Subject: gallium/tools: do not hardcode bash location X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=e7b01d9fc820cf9dc1b94a406869e8bcc1c8b72a;p=mesa.git gallium/tools: do not hardcode bash location It is not guaranteed to be in /bin Signed-off-by: Emil Velikov Reviewed-by: Andreas Boll Reviewed-by: Eric Engestrom --- diff --git a/src/gallium/tools/addr2line.sh b/src/gallium/tools/addr2line.sh index 34dec142716..8d7b9cb9d91 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 c7827c0ff15..dccb7a3d519 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