Hey guys:
I tested OSCAR trunk with RHEL3u5 and
OS_Detect does not work.
If I apply the following patch, it
works, however, I don't think it plays nice with other distros (eg.
RHEL4).
Index:
OCA.pm
===================================================================
--- OCA.pm (revision 4123)
+++ OCA.pm (working copy)
@@ -84,7 +84,7 @@
# get a nasty error and/or abort. The success status of the
# eval'ed require will be in [EMAIL PROTECTED]
===================================================================
--- OCA.pm (revision 4123)
+++ OCA.pm (working copy)
@@ -84,7 +84,7 @@
# get a nasty error and/or abort. The success status of the
# eval'ed require will be in [EMAIL PROTECTED]
- eval "require
$comp";
+ eval {require "$comp.pm"};
if (! $@) {
push(@opened, $comp);
}
+ eval {require "$comp.pm"};
if (! $@) {
push(@opened, $comp);
}
Perhaps someone else can take a look
at this.
Thanks,
Bernard
