summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorJeffrey Yasskin <jyasskin@google.com>2010-03-18 22:56:02 +0000
committerJeffrey Yasskin <jyasskin@google.com>2010-03-18 22:56:02 +0000
commit1ff781fb501505660f6ccb7558ad9e613db21517 (patch)
tree56f31d8118b095aca5a83f6788c705e2e407850d /test
parent341ab138fb3b7b7ebe12371481641f8681cd4e9d (diff)
downloadllvm-1ff781fb501505660f6ccb7558ad9e613db21517.tar.gz
llvm-1ff781fb501505660f6ccb7558ad9e613db21517.tar.bz2
llvm-1ff781fb501505660f6ccb7558ad9e613db21517.tar.xz
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-xtest/Scripts/ignore2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/Scripts/ignore b/test/Scripts/ignore
index 865ae4df1b..2d02ecf0b1 100755
--- a/test/Scripts/ignore
+++ b/test/Scripts/ignore
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/usr/bin/env bash
#
# Program: ignore
#