Index: clang/test/make_test_dirs.pl =================================================================== --- clang/test/make_test_dirs.pl +++ clang/test/make_test_dirs.pl @@ -1,4 +1,4 @@ -#!/usr/bin/perl -w +#!/usr/bin/env perl -w # # Simple little Perl script that takes the cxx-sections.data file as # input and generates a directory structure that mimics the standard's Index: clang/tools/scan-build/bin/set-xcode-analyzer =================================================================== --- clang/tools/scan-build/bin/set-xcode-analyzer +++ clang/tools/scan-build/bin/set-xcode-analyzer @@ -1,4 +1,4 @@ -#!/usr/bin/python +#!/usr/bin/env python # [PR 11661] Note that we hardwire to /usr/bin/python because we # want to the use the system version of Python on Mac OS X. Index: clang/utils/TestUtils/pch-test.pl =================================================================== --- clang/utils/TestUtils/pch-test.pl +++ clang/utils/TestUtils/pch-test.pl @@ -1,4 +1,4 @@ -#!/usr/bin/perl -w +#!/usr/bin/env perl -w # This tiny little script, which should be run from the clang # directory (with clang in your patch), tries to take each Index: clang/utils/analyzer/reducer.pl =================================================================== --- clang/utils/analyzer/reducer.pl +++ clang/utils/analyzer/reducer.pl @@ -1,4 +1,4 @@ -#!/usr/bin/perl -w +#!/usr/bin/env perl -w use strict; use File::Temp qw/ tempdir /; my $prog = "reducer"; @@ -31,7 +31,7 @@ my $commandStr = "@$command"; print OUT <