1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-25 04:02:41 +01:00

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

View File

@ -1,4 +1,4 @@
#!/usr/bin/perl -w #!/usr/bin/env perl
# #
# Program: GenLibDeps.pl # Program: GenLibDeps.pl
# #

View File

@ -1,4 +1,4 @@
#!/usr/bin/perl #!/usr/bin/env perl
use Getopt::Std; use Getopt::Std;
$DEBUG = 0; $DEBUG = 0;

View File

@ -1,4 +1,4 @@
#!/usr/bin/perl -w #!/usr/bin/env perl
# #
# Program: findsym.pl # Program: findsym.pl
# #
@ -8,6 +8,8 @@
# Syntax: findsym.pl <directory_with_libraries_in_it> <symbol> # Syntax: findsym.pl <directory_with_libraries_in_it> <symbol>
# #
use warnings;
# Give first option a name. # Give first option a name.
my $Directory = $ARGV[0]; my $Directory = $ARGV[0];
my $Symbol = $ARGV[1]; my $Symbol = $ARGV[1];

View File

@ -1,4 +1,4 @@
#!/usr/bin/python3 #!/usr/bin/env python3
##===- utils/llvmbuild - Build the LLVM project ----------------*-python-*-===## ##===- utils/llvmbuild - Build the LLVM project ----------------*-python-*-===##
# #
# Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. # Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.

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 # Wrapper around LLVM tools to generate a native .o from llvm-gxx using an
# LLVM back-end (CBE by default). # LLVM back-end (CBE by default).