r182696 - Increase the portability of this script a bit: use /usr/bin/env to find bash,

Richard Smith richard-llvm at metafoo.co.uk
Fri May 24 16:54:22 PDT 2013


Author: rsmith
Date: Fri May 24 18:54:21 2013
New Revision: 182696

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

Modified:
    cfe/trunk/utils/find-unused-diagnostics.sh

Modified: cfe/trunk/utils/find-unused-diagnostics.sh
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/utils/find-unused-diagnostics.sh?rev=182696&r1=182695&r2=182696&view=diff
==============================================================================
--- cfe/trunk/utils/find-unused-diagnostics.sh (original)
+++ cfe/trunk/utils/find-unused-diagnostics.sh Fri May 24 18:54:21 2013
@@ -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.





More information about the cfe-commits mailing list