mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-22 02:33:06 +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:
parent
cee8b18db2
commit
8d4eac3a03
@ -1,4 +1,4 @@
|
|||||||
#!/usr/bin/perl -w
|
#!/usr/bin/env perl
|
||||||
#
|
#
|
||||||
# Program: GenLibDeps.pl
|
# Program: GenLibDeps.pl
|
||||||
#
|
#
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
#!/usr/bin/perl
|
#!/usr/bin/env perl
|
||||||
|
|
||||||
use Getopt::Std;
|
use Getopt::Std;
|
||||||
$DEBUG = 0;
|
$DEBUG = 0;
|
||||||
|
@ -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];
|
||||||
|
@ -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.
|
||||||
|
@ -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).
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user