From e7b01d9fc820cf9dc1b94a406869e8bcc1c8b72a Mon Sep 17 00:00:00 2001 From: Emil Velikov Date: Wed, 22 Feb 2017 16:19:44 +0000 Subject: [PATCH] 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 --- 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 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 -- 2.30.2