summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorEmil Velikov <[email protected]>2017-02-22 16:19:44 +0000
committerEmil Velikov <[email protected]>2017-03-10 14:12:47 +0000
commite7b01d9fc820cf9dc1b94a406869e8bcc1c8b72a (patch)
tree18a6a8cf98eeac0711b47be66161840521ba9a49 /src
parent6f341b9dfd63b2bb220d5ebe36588b3786c61b53 (diff)
gallium/tools: do not hardcode bash location
It is not guaranteed to be in /bin Signed-off-by: Emil Velikov <[email protected]> Reviewed-by: Andreas Boll <[email protected]> Reviewed-by: Eric Engestrom <[email protected]>
Diffstat (limited to 'src')
-rwxr-xr-xsrc/gallium/tools/addr2line.sh2
-rwxr-xr-xsrc/gallium/tools/trace/tracediff.sh2
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