[llvm-commits] [llvm] r98892 - /llvm/trunk/test/Scripts/ignore

Jeffrey Yasskin jyasskin at google.com
Thu Mar 18 15:56:02 PDT 2010


Author: jyasskin
Date: Thu Mar 18 17:56:02 2010
New Revision: 98892

URL: http://llvm.org/viewvc/llvm-project?rev=98892&view=rev
Log:
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.


Modified:
    llvm/trunk/test/Scripts/ignore

Modified: llvm/trunk/test/Scripts/ignore
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/Scripts/ignore?rev=98892&r1=98891&r2=98892&view=diff
==============================================================================
--- llvm/trunk/test/Scripts/ignore (original)
+++ llvm/trunk/test/Scripts/ignore Thu Mar 18 17:56:02 2010
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/usr/bin/env bash
 #
 # Program: ignore
 #





More information about the llvm-commits mailing list