Commit 154f0155 authored by Kirk Webb's avatar Kirk Webb

Minor.

parent 7abafe2d
......@@ -38,20 +38,10 @@ our $OAI_LOGDIR = "/var/log/oai";
our $OAI_LOCKDIR = "/var/lock";
our $OAI_SYSETC = "/usr/local/etc/oai";
# Add the correct library directory to the include list.
if (-d $OEPC_LIBDIR) {
unshift(@INC, $OEPC_LIBDIR);
# Try to make the OEPC log directory if it doesn't exist.
if (!-d $OEPC_LOGDIR) {
system("mkdir $OEPC_LOGDIR > /dev/null 2>&1");
}
}
elsif (-d $OAI_LIBDIR) {
unshift(@INC, $OAI_LIBDIR);
# Try to make the OAI log directory if it doesn't exist.
if (!-d $OAI_LOGDIR) {
system("mkdir $OAI_LOGDIR > /dev/null 2>&1");
}
unshift(@INC, $OAI_LIBDIR);
# Try to make the OAI log directory if it doesn't exist.
if (!-d $OAI_LOGDIR) {
system("mkdir $OAI_LOGDIR > /dev/null 2>&1");
}
# Perl goo
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment