diff --git a/utils/GenLibDeps.pl b/utils/GenLibDeps.pl index 42afa6a11fc..e283465ceda 100755 --- a/utils/GenLibDeps.pl +++ b/utils/GenLibDeps.pl @@ -1,4 +1,4 @@ -#!/usr/bin/perl -w +#!/usr/bin/env perl # # Program: GenLibDeps.pl # diff --git a/utils/codegen-diff b/utils/codegen-diff index 2c3ac4c6dfa..16c6e956af5 100755 --- a/utils/codegen-diff +++ b/utils/codegen-diff @@ -1,4 +1,4 @@ -#!/usr/bin/perl +#!/usr/bin/env perl use Getopt::Std; $DEBUG = 0; diff --git a/utils/findsym.pl b/utils/findsym.pl index 92346572fe0..f03e1231c25 100755 --- a/utils/findsym.pl +++ b/utils/findsym.pl @@ -1,4 +1,4 @@ -#!/usr/bin/perl -w +#!/usr/bin/env perl # # Program: findsym.pl # @@ -8,6 +8,8 @@ # Syntax: findsym.pl # +use warnings; + # Give first option a name. my $Directory = $ARGV[0]; my $Symbol = $ARGV[1]; diff --git a/utils/llvm-compilers-check b/utils/llvm-compilers-check index 33331fd0b93..3b132454d20 100755 --- a/utils/llvm-compilers-check +++ b/utils/llvm-compilers-check @@ -1,4 +1,4 @@ -#!/usr/bin/python3 +#!/usr/bin/env python3 ##===- utils/llvmbuild - Build the LLVM project ----------------*-python-*-===## # # Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. diff --git a/utils/llvm-native-gxx b/utils/llvm-native-gxx index db547f654e2..3c8a703b5b6 100755 --- a/utils/llvm-native-gxx +++ b/utils/llvm-native-gxx @@ -1,4 +1,4 @@ -#!/usr/bin/perl +#!/usr/bin/env perl # Wrapper around LLVM tools to generate a native .o from llvm-gxx using an # LLVM back-end (CBE by default).