aboutsummaryrefslogtreecommitdiffstats
path: root/setenv.pl
diff options
context:
space:
mode:
authorStruan Donald <struan@exo.org.uk>2011-06-03 16:06:14 +0100
committerStruan Donald <struan@exo.org.uk>2011-06-03 16:06:14 +0100
commit805b0f85a40d66369150f89e7ff8c54169d0bf5d (patch)
tree5f79f50d9aa26be2f5ad07e1915fd0e48ad0c92b /setenv.pl
parentb8e2d75cc1c74584dfdf8571c241dab7182c4543 (diff)
parentc10a787f1f529cadae06fd9c8dff58ca7224d223 (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-xsetenv.pl8
1 files changed, 4 insertions, 4 deletions
diff --git a/setenv.pl b/setenv.pl
index 1d4ca3d2b..b5461f30e 100755
--- a/setenv.pl
+++ b/setenv.pl
@@ -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;