diff options
author | Matthew Somerville <matthew@mysociety.org> | 2011-06-10 14:48:22 +0100 |
---|---|---|
committer | Matthew Somerville <matthew@mysociety.org> | 2011-06-10 14:48:22 +0100 |
commit | 860383f0de3287b0666d64a3ffff3db3a0f087ae (patch) | |
tree | 6bc90fae589de824095e668fbf510ef259935729 /setenv.pl | |
parent | 40f13d3cc9dc903da5299901623677c205eff484 (diff) |
Update crontab to use cron-wrapper.
Diffstat (limited to 'setenv.pl')
-rwxr-xr-x | setenv.pl | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -10,7 +10,7 @@ my $root; BEGIN { # add the local perllibs too # Can't use Path::Class here as we'd load the old debian one. - $root = __FILE__ =~ m{^(.*)/web/\.\..*$} ? $1 : `pwd`; + $root = __FILE__ =~ m{^(.*)/(web|bin)/\.\..*$} ? $1 : `pwd`; chomp($root); } |