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 | 1ff781fb501505660f6ccb7558ad9e613db21517 (patch) | |
tree | 56f31d8118b095aca5a83f6788c705e2e407850d /test | |
parent | 341ab138fb3b7b7ebe12371481641f8681cd4e9d (diff) | |
download | external_llvm-1ff781fb501505660f6ccb7558ad9e613db21517.zip external_llvm-1ff781fb501505660f6ccb7558ad9e613db21517.tar.gz external_llvm-1ff781fb501505660f6ccb7558ad9e613db21517.tar.bz2 |
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.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@98892 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test')
-rwxr-xr-x | test/Scripts/ignore | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/Scripts/ignore b/test/Scripts/ignore index 865ae4d..2d02ecf 100755 --- a/test/Scripts/ignore +++ b/test/Scripts/ignore @@ -1,4 +1,4 @@ -#!/bin/sh +#!/usr/bin/env bash # # Program: ignore # |