diff options
author | Matthew Somerville <matthew@mysociety.org> | 2011-06-10 00:13:33 +0100 |
---|---|---|
committer | Matthew Somerville <matthew@mysociety.org> | 2011-06-10 00:13:33 +0100 |
commit | 7513161747fb9bd48eb67cc7a43e711e2a1b45a1 (patch) | |
tree | 392e384547b6ac5e80808022e9bc4f48ff893a7a /setenv.pl | |
parent | 7e844f25b99b1b2b76526a0490b5b9dea00b71df (diff) |
Simple cron wrapper to run in correct environment.
Diffstat (limited to 'setenv.pl')
-rwxr-xr-x | setenv.pl | 6 |
1 files changed, 0 insertions, 6 deletions
@@ -32,12 +32,6 @@ for ( "$root/commonlib/perllib", "$root/perllib" ) { # also set the path to our scripts etc $ENV{PATH} = join ':', uniq "$root/bin", split( m/:/, $ENV{PATH} ); -# now decide what to do - if no arguments print out shell arguments to set the -# environment. If there are arguments then run those so that they run correctly -#if (@ARGV) { -# system @ARGV; -#} - # we might want to require this file to configure something like a CGI script if ( $0 eq __FILE__ ) { |