From: Emil Velikov Date: Wed, 22 Feb 2017 16:19:44 +0000 (+0000) Subject: gallium/tools: do not hardcode bash location X-Git-Tag: upstream/17.1.0~1534 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=e7b01d9fc820cf9dc1b94a406869e8bcc1c8b72a;p=platform%2Fupstream%2Fmesa.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 34dec14..8d7b9cb 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 c7827c0..dccb7a3 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