提交 90b17aef 编写于 作者: A Andrea Bolognani

perl: Don't hardcode interpreter path

This is particularly useful on operating systems that don't ship
Perl as part of the base system (eg. FreeBSD) while still working
just as well as it did before on Linux.

In one case (src/rpc/genprotocol.pl) the interpreter path was
missing altogether.
Signed-off-by: NAndrea Bolognani <abologna@redhat.com>
上级 84067696
#!/usr/bin/perl
#!/usr/bin/env perl
#
# augeas-gentest.pl: Generate an augeas test file, from an
# example config file + test file template
......
#!/usr/bin/perl
#!/usr/bin/env perl
#
# check-spacing.pl: Report any usage of 'function (..args..)'
# Also check for other syntax issues, such as correct use of ';'
......
#!/usr/bin/perl
#!/usr/bin/env perl
my %noninlined;
my %mocked;
......
#!/usr/bin/perl
#!/usr/bin/env perl
use strict;
......
#!/usr/bin/perl
#!/usr/bin/env perl
#
# Copyright (C) 2013 Red Hat, Inc.
#
......
#!/usr/bin/perl
#!/usr/bin/env perl
use strict;
use warnings;
......
#!/usr/bin/perl
#!/usr/bin/env perl
#
# Copyright (C) 2012-2013 Red Hat, Inc.
#
......
#!/usr/bin/perl
#!/usr/bin/env perl
#
# Copyright (C) 2013 Red Hat, Inc.
#
......
#!/usr/bin/perl
#!/usr/bin/env perl
#
# Copyright (C) 2013-2014 Red Hat, Inc.
#
......
#!/usr/bin/perl
#!/usr/bin/env perl
#
# Copyright (C) 2013 Red Hat, Inc.
#
......
#!/usr/bin/perl
#!/usr/bin/env perl
#
# Copyright (C) 2013 Red Hat, Inc.
#
......
#!/usr/bin/perl
#!/usr/bin/env perl
# Copyright (C) 2012-2013 Red Hat, Inc.
#
......
#!/usr/bin/perl
#!/usr/bin/env perl
# Copyright (C) 2012-2013 Red Hat, Inc.
#
......
#!/usr/bin/perl
#!/usr/bin/env perl
#
# Copyright (C) 2011-2012 Red Hat, Inc.
#
......
#!/usr/bin/perl -w
#!/usr/bin/env perl
#
# Copyright (C) 2010-2015 Red Hat, Inc.
#
......@@ -32,6 +32,7 @@
# Extended by Matthias Bolte <matthias.bolte@googlemail.com>
use strict;
use warnings;
use Getopt::Long;
......
#!/usr/bin/env perl
#
# Generate code for an XDR protocol, optionally applying
# fixups to the glibc rpcgen code so that it compiles
......
#!/usr/bin/perl
#!/usr/bin/env perl
#
# Copyright (C) 2011-2012 Red Hat, Inc.
#
......
#!/usr/bin/perl -w
#!/usr/bin/env perl
#
# Copyright (C) 2016 Red Hat, Inc.
#
......
#!/usr/bin/perl
#!/usr/bin/env perl
use strict;
use warnings;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册