diff options
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/gettext-extract | 2 | ||||
-rwxr-xr-x | bin/send-comments | 2 | ||||
-rw-r--r-- | bin/site-specific-install.sh | 2 | ||||
-rwxr-xr-x | bin/zurich/overdue-alert | 2 |
4 files changed, 4 insertions, 4 deletions
diff --git a/bin/gettext-extract b/bin/gettext-extract index b645f57dc..c1f3d384e 100755 --- a/bin/gettext-extract +++ b/bin/gettext-extract @@ -15,7 +15,7 @@ rm -f $PO # we don't want to extract strings from all the cobrand templates so list # the ones we care about -find templates/web/base templates/web/fixmystreet templates/web/zurich templates/web/fiksgatami -name '*.html' > template_list +find templates/web/base templates/web/fixmystreet templates/web/zurich -name '*.html' > template_list # Extract from Perl xgettext.pl --gnu-gettext --verbose --output $PO --plugin perl=* --plugin tt2 --directory perllib -f template_list --directory db --directory bin diff --git a/bin/send-comments b/bin/send-comments index 2d6b525b5..fabf2b633 100755 --- a/bin/send-comments +++ b/bin/send-comments @@ -145,7 +145,7 @@ while ( my $body = $bodies->next ) { sub bromley_retry_timeout { my $row = shift; - my $tz = DateTime::TimeZone->new( name => 'local' ); + my $tz = FixMyStreet->local_time_zone; my $now = DateTime->now( time_zone => $tz ); my $diff = $now - $row->send_fail_timestamp; if ( $diff->in_units( 'minutes' ) < 30 ) { diff --git a/bin/site-specific-install.sh b/bin/site-specific-install.sh index c57678b7b..75b016bb5 100644 --- a/bin/site-specific-install.sh +++ b/bin/site-specific-install.sh @@ -1,7 +1,7 @@ #!/bin/sh # Set this to the version we want to check out -VERSION=${VERSION_OVERRIDE:-v1.5.3} +VERSION=${VERSION_OVERRIDE:-v1.6.1} PARENT_SCRIPT_URL=https://github.com/mysociety/commonlib/blob/master/bin/install-site.sh diff --git a/bin/zurich/overdue-alert b/bin/zurich/overdue-alert index 4a8fea830..700a642f4 100755 --- a/bin/zurich/overdue-alert +++ b/bin/zurich/overdue-alert @@ -14,7 +14,7 @@ BEGIN { use File::Basename qw(dirname); use File::Spec; my $d = dirname(File::Spec->rel2abs($0)); - require "$d/../setenv.pl"; + require "$d/../../setenv.pl"; } use DateTime; |