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 34dec142716095678224d5d5399bcd85214dde09..8d7b9cb9d9130d513e357adbde224107d63a1a2e 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=
 # This script processes symbols output by Gallium using glibc to human-readable function names
 
 lastbin=
index c7827c0ff15c217b9c49e9b701d6fd24894d25f3..dccb7a3d519e19da1781fabf1e2cbde238b9886c 100755 (executable)
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
 ##########################################################################
 #
 # Copyright 2011 Jose Fonseca
 ##########################################################################
 #
 # Copyright 2011 Jose Fonseca