diff options
Diffstat (limited to 'setenv.pl')
-rwxr-xr-x | setenv.pl | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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); } |