diff options
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/emptyhomes/make_welsh_po | 4 | ||||
-rwxr-xr-x | bin/geocode | 2 | ||||
-rwxr-xr-x | bin/gettext-nget-patch | 2 | ||||
-rwxr-xr-x | bin/handlemail | 3 | ||||
-rwxr-xr-x | bin/make_po | 4 | ||||
-rwxr-xr-x | bin/open311-update-reports | 2 | ||||
-rwxr-xr-x | bin/update-schema | 2 |
7 files changed, 12 insertions, 7 deletions
diff --git a/bin/emptyhomes/make_welsh_po b/bin/emptyhomes/make_welsh_po index a85e7c35b..568ccdcde 100755 --- a/bin/emptyhomes/make_welsh_po +++ b/bin/emptyhomes/make_welsh_po @@ -1,5 +1,7 @@ -#!/usr/bin/perl -w +#!/usr/bin/env perl + use strict; +use warnings; # Given a translation of the Empty Homes version of the FixMyStreet .po file, # fix it all up to go direct from FixMyStreet -> EH translation. diff --git a/bin/geocode b/bin/geocode index 254cf1578..2b85ff572 100755 --- a/bin/geocode +++ b/bin/geocode @@ -1,4 +1,4 @@ -#!/usr/bin/perl +#!/usr/bin/env perl =head1 NAME diff --git a/bin/gettext-nget-patch b/bin/gettext-nget-patch index 5ebd8bbcb..92b687552 100755 --- a/bin/gettext-nget-patch +++ b/bin/gettext-nget-patch @@ -1,4 +1,4 @@ -#!/usr/bin/perl +#!/usr/bin/env perl # # xgettext doesn't deal with TT files, but xgettext.pl doesn't find nget()s, sigh. # This will find the nget()s and output a .po file excerpt. diff --git a/bin/handlemail b/bin/handlemail index 8bc016241..5d4ac753c 100755 --- a/bin/handlemail +++ b/bin/handlemail @@ -1,4 +1,4 @@ -#!/usr/bin/perl -w +#!/usr/bin/env perl # # handlemail: # Handle an individual incoming mail message. @@ -14,6 +14,7 @@ my $rcsid = ''; $rcsid .= '$Id: handlemail,v 1.2 2009-02-11 11:04:48 matthew Exp $'; use strict; +use warnings; require 5.8.0; # Horrible boilerplate to set up appropriate library paths. diff --git a/bin/make_po b/bin/make_po index ad1fc1a89..a5b145ecb 100755 --- a/bin/make_po +++ b/bin/make_po @@ -1,5 +1,7 @@ -#!/usr/bin/perl -w +#!/usr/bin/env perl + use strict; +use warnings; # Generates a version of .po file, which is a translation # into a language the same as English, with replacement as specified in PoChange diff --git a/bin/open311-update-reports b/bin/open311-update-reports index 3b77fef89..a964ba8c9 100755 --- a/bin/open311-update-reports +++ b/bin/open311-update-reports @@ -1,4 +1,4 @@ -#!/usr/bin/perl +#!/usr/bin/env perl # # This script utilises the standard Open311 way of getting updates on reports # (by fetching all reports for a body and looking for updates). If possible, diff --git a/bin/update-schema b/bin/update-schema index 30fc1396b..af0da3601 100755 --- a/bin/update-schema +++ b/bin/update-schema @@ -1,4 +1,4 @@ -#!/usr/bin/perl +#!/usr/bin/env perl =head1 NAME |