svn commit: r439336 - head/Tools/scripts
Jan Beich
jbeich at FreeBSD.org
Mon Apr 24 18:56:53 UTC 2017
Emanuel Haupt <ehaupt at FreeBSD.org> writes:
> Author: ehaupt
> Date: Mon Apr 24 17:27:58 2017
> New Revision: 439336
> URL: https://svnweb.freebsd.org/changeset/ports/439336
>
> Log:
> Fix shebang. If /usr/bin/env is used the -w flag can't be passed after perl.
> Use 'use warnings;' instead.
[...]
> -#!/usr/bin/env perl -w
> +#!/usr/bin/env perl
Why not use -S ? Tools/scripts/ are unlikely to be run on non-FreeBSD.
#!/usr/bin/env -S perl -w
https://svnweb.freebsd.org/changeset/base/147493
More information about the svn-ports-all
mailing list