Prefer /usr/bin/env xxx over /usr/bin/xxx where xxx = perl, python, awk

Allow users to use a non-system version of perl, python and awk, which is useful
in certain package managers.

Reviewed By: JDevlieghere, MaskRay

Differential Revision: https://reviews.llvm.org/D95119
This commit is contained in:
Harmen Stoppels
2021-02-25 11:31:42 +01:00
committed by Raphael Isemann
parent cee8b18db2
commit 8d4eac3a03
5 changed files with 7 additions and 5 deletions
+1 -1
View File
@@ -1,4 +1,4 @@
#!/usr/bin/perl -w
#!/usr/bin/env perl
#
# Program: GenLibDeps.pl
#
+1 -1
View File
@@ -1,4 +1,4 @@
#!/usr/bin/perl
#!/usr/bin/env perl
use Getopt::Std;
$DEBUG = 0;
+3 -1
View File
@@ -1,4 +1,4 @@
#!/usr/bin/perl -w
#!/usr/bin/env perl
#
# Program: findsym.pl
#
@@ -8,6 +8,8 @@
# Syntax: findsym.pl <directory_with_libraries_in_it> <symbol>
#
use warnings;
# Give first option a name.
my $Directory = $ARGV[0];
my $Symbol = $ARGV[1];
+1 -1
View File
@@ -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.
+1 -1
View File
@@ -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).