From: Richard Smith Date: Fri, 24 May 2013 23:54:21 +0000 (+0000) Subject: Increase the portability of this script a bit: use /usr/bin/env to find bash, X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=1dd5208a7b86ace1154b6ad31ab73bb725352512;p=clang Increase the portability of this script a bit: use /usr/bin/env to find bash, 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 --- diff --git a/utils/find-unused-diagnostics.sh b/utils/find-unused-diagnostics.sh index c7fa01a935..cd48e6920f 100755 --- a/utils/find-unused-diagnostics.sh +++ b/utils/find-unused-diagnostics.sh @@ -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.