aboutsummaryrefslogtreecommitdiffstats
path: root/setenv.pl
diff options
context:
space:
mode:
Diffstat (limited to 'setenv.pl')
-rwxr-xr-xsetenv.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/setenv.pl b/setenv.pl
index 4564017bf..2916a2c8a 100755
--- a/setenv.pl
+++ b/setenv.pl
@@ -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);
}