aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xsetenv.pl12
1 files changed, 1 insertions, 11 deletions
diff --git a/setenv.pl b/setenv.pl
index b59dac28d..6e9fab20c 100755
--- a/setenv.pl
+++ b/setenv.pl
@@ -10,18 +10,8 @@ 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/\.\..*$} ? $1 : `pwd`;
chomp($root);
-
- # warn "-----------------------\n";
- # warn "__FILE__: " . __FILE__ . "\n";
- warn '$root: ' . $root . "\n";
-
- # warn '$0: ' . $0 . "\n";
- # warn "-----------------------";
}
# Set the environment for the FixMyStreet project