]> granicus.if.org Git - clang/commitdiff
Increase the portability of this script a bit: use /usr/bin/env to find bash,
authorRichard Smith <richard-llvm@metafoo.co.uk>
Fri, 24 May 2013 23:54:21 +0000 (23:54 +0000)
committerRichard Smith <richard-llvm@metafoo.co.uk>
Fri, 24 May 2013 23:54:21 +0000 (23:54 +0000)
rather than assuming it lives in the path. Patch by Eitan Adler!

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

utils/find-unused-diagnostics.sh

index c7fa01a9352b774be2983c3abfb4276d4ee040a0..cd48e6920fb8ae16153123b5bef78ed50d85972b 100755 (executable)
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
 #
 # This script produces a list of all diagnostics that are defined
 # in Diagnostic*.td files but not used in sources.