Commit 5607dcf2 authored by Leigh Stoller's avatar Leigh Stoller

Bug fix to path changes in previous revision.

parent b7bae185
......@@ -58,9 +58,25 @@ delete @ENV{'IFS', 'CDPATH', 'ENV', 'BASH_ENV'};
$| = 1;
# Late in the process we want to load modules after they are installed.
# We want to use modules late in the install process.
use lib "@prefix@/lib";
if (-e "../Makeconf") {
my $srcdir = "@top_srcdir@";
my $objdir = `/bin/pwd`;
unshift(@INC, "$objdir/../db");
if ($srcdir =~ /^\//) {
unshift(@INC, "$srcdir/install");
unshift(@INC, "$srcdir/tbsetup");
} else {
unshift(@INC, "$objdir/$srcdir/install");
unshift(@INC, "$objdir/$srcdir/tbsetup");
unshift(@INC, "$objdir/../tbsetup");
use libinstall;
use installvars;
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