diff options
author | Struan Donald <struan@exo.org.uk> | 2011-06-03 16:06:14 +0100 |
---|---|---|
committer | Struan Donald <struan@exo.org.uk> | 2011-06-03 16:06:14 +0100 |
commit | 805b0f85a40d66369150f89e7ff8c54169d0bf5d (patch) | |
tree | 5f79f50d9aa26be2f5ad07e1915fd0e48ad0c92b /setenv.pl | |
parent | b8e2d75cc1c74584dfdf8571c241dab7182c4543 (diff) | |
parent | c10a787f1f529cadae06fd9c8dff58ca7224d223 (diff) |
Merge branch 'migrate_to_catalyst' of ssh://git.mysociety.org/data/git/public/fixmystreet into migrate_to_catalyst
Diffstat (limited to 'setenv.pl')
-rwxr-xr-x | setenv.pl | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -34,12 +34,12 @@ $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; -} +#if (@ARGV) { +# system @ARGV; +#} # we might want to require this file to configure something like a CGI script -elsif ( $0 eq __FILE__ ) { +if ( $0 eq __FILE__ ) { my @keys = sort 'PATH', grep { m{^PERL} } keys %ENV; |