Skip to content

Commit

Permalink
Item1126: The previous fix broke it on FreeBSD
Browse files Browse the repository at this point in the history
git-svn-id: http://svn.foswiki.org/trunk@2630 0b4bb1d4-4e5a-0410-9cc4-b2b747904278
  • Loading branch information
OlivierRaginel authored and OlivierRaginel committed Feb 23, 2009
1 parent 42235d0 commit 43e03dc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions core/bin/setlib.cfg
Expand Up @@ -33,9 +33,9 @@
our $foswikiLibPath;
our @localPerlLibPath;

my $LocalLib = $INC{'setlib.cfg'}; # the dir where this setlib.cfg resides
my $LocalLib = __FILE__; # the dir where this setlib.cfg resides
$LocalLib =~ s/setlib.cfg$/LocalLib.cfg/;
do $LocalLib if -r $LocalLib;
require $LocalLib;

# if foswikiLibPath isn't defined, then see if $twikiLibPath is
# for compatibility
Expand Down

0 comments on commit 43e03dc

Please sign in to comment.