Work around a valgrind oddity where it doesn't pass the full path of a
authorJeffrey Yasskin <jyasskin@google.com>
Thu, 18 Mar 2010 22:56:02 +0000 (22:56 +0000)
committerJeffrey Yasskin <jyasskin@google.com>
Thu, 18 Mar 2010 22:56:02 +0000 (22:56 +0000)
script to the #! command by using bash instead of /bin/sh.  Bash
searches $PATH for its script argument, but dash, which /bin/sh
resolves to on some systems, does not.
https://bugs.kde.org/show_bug.cgi?id=231257 tracks the valgrind
problem.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@98892 91177308-0d34-0410-b5e6-96231b3b80d8

test/Scripts/ignore

index 865ae4df1bd4d13b909bb97cca787d91782ee17a..2d02ecf0b19389f5c8472bc4db5a4c49b03db78c 100755 (executable)
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/usr/bin/env bash
 #
 # Program: ignore
 #