diff options
author | Jeffrey Yasskin <jyasskin@google.com> | 2010-03-18 22:56:02 +0000 |
---|---|---|
committer | Jeffrey Yasskin <jyasskin@google.com> | 2010-03-18 22:56:02 +0000 |
commit | 3eb346caeb296eaa17e92425fd17c100b0718c7b (patch) | |
tree | 24da01cbb8450c830462565e09d7647929e3ff42 /llvm/test/Scripts | |
parent | f11aa9e7b4b1768c8cb7a436d86dc33f6159b770 (diff) | |
download | bcm5719-llvm-3eb346caeb296eaa17e92425fd17c100b0718c7b.tar.gz bcm5719-llvm-3eb346caeb296eaa17e92425fd17c100b0718c7b.zip |
Work around a valgrind oddity where it doesn't pass the full path of a
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.
llvm-svn: 98892
Diffstat (limited to 'llvm/test/Scripts')
-rwxr-xr-x | llvm/test/Scripts/ignore | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/test/Scripts/ignore b/llvm/test/Scripts/ignore index 865ae4df1bd..2d02ecf0b19 100755 --- a/llvm/test/Scripts/ignore +++ b/llvm/test/Scripts/ignore @@ -1,4 +1,4 @@ -#!/bin/sh +#!/usr/bin/env bash # # Program: ignore # |