gallium/tools: do not hardcode bash location
authorEmil Velikov <emil.l.velikov@gmail.com>
Wed, 22 Feb 2017 16:19:44 +0000 (16:19 +0000)
committerEmil Velikov <emil.l.velikov@gmail.com>
Fri, 10 Mar 2017 14:12:47 +0000 (14:12 +0000)
It is not guaranteed to be in /bin

Signed-off-by: Emil Velikov <emil.velikov@collabora.com>
Reviewed-by: Andreas Boll <andreas.boll.dev@gmail.com>
Reviewed-by: Eric Engestrom <eric.engestrom@imgtec.com>
src/gallium/tools/addr2line.sh
src/gallium/tools/trace/tracediff.sh

index 34dec14..8d7b9cb 100755 (executable)
@@ -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=
index c7827c0..dccb7a3 100755 (executable)
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
 ##########################################################################
 #
 # Copyright 2011 Jose Fonseca