Skip to content

Commit

Permalink
Item8979: Accept compile errors if the failure was other than the pri…
Browse files Browse the repository at this point in the history
…mary module not found.

git-svn-id: http://svn.foswiki.org/branches/Release01x00@7362 0b4bb1d4-4e5a-0410-9cc4-b2b747904278
  • Loading branch information
GeorgeClark authored and GeorgeClark committed May 10, 2010
1 parent d1162d7 commit 26d8063
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/lib/Foswiki/Configure/UIs/EXTENSIONS.pm
Expand Up @@ -301,7 +301,7 @@ sub _getInstalledVersion {
foreach $from qw(Foswiki TWiki) {
my $path = $from . '::' . $lib . '::' . $module;
eval "require $path";
unless ($@) {
unless ($@ && $@ =~ m/^Can't locate $path/) {
$compileable = 1; # found the module
last;
}
Expand Down

0 comments on commit 26d8063

Please sign in to comment.