perl scripts: remove #!/usr/bin/perl in favor of more portable...
authorJim Meyering <meyering@redhat.com>
Fri, 30 Oct 2009 14:02:02 +0000 (15:02 +0100)
committerJim Meyering <meyering@redhat.com>
Fri, 30 Oct 2009 16:01:27 +0000 (17:01 +0100)
commitb3602e85d8c625e8ffc08855b67c0ae11169a5f3
tree3ea2076741f3ae5813cf1a0639d24efae75695af
parent68b698308b2bb4dc2969469b79c4450fed49eb85
perl scripts: remove #!/usr/bin/perl in favor of more portable...

Rather than putting #!/usr/bin/perl on the first line,
start with a variant of what's recommended by "man perlrun" that
invokes the first "perl" program from your shell's search path.
* build-aux/gitlog-to-changelog: Replace #!... as above.
Add a "Local Variables" perl mode setting.
Prompted by a patch from Ludovic Courtès.
Improved by Eric Blake.
* build-aux/useless-if-before-free: Likewise.
* build-aux/announce-gen: Likewise.
* build-aux/update-copyright: Likewise.
ChangeLog
build-aux/announce-gen
build-aux/gitlog-to-changelog
build-aux/update-copyright
build-aux/useless-if-before-free