We used to have symlinks in /usr/share/perl5/. Now we just
set the include path to use our dir.
/etc/wanna-build.conf just included our config file, now use
it directly.
This should probably get changed at some point, if we ever
want to package it.
use strict;
use warnings;
+use lib '/org/wanna-build/bin';
use WannaBuild; # for version compare
if (!@ARGV) {
$dbbase ||= "build-db";
$transactlog ||= "transactions.log";
$mailprog ||= "/usr/sbin/sendmail";
-require "/etc/wanna-build.conf";
+require "/org/wanna-build/etc/wanna-build.conf";
die "$conf::basedir is not a directory\n" if ! -d $conf::basedir;
die "dbbase is empty\n" if ! $dbbase;
die "transactlog is empty\n" if ! $transactlog;
use FileHandle;
use File::Copy;
use DBI;
+use lib '/org/wanna-build/bin';
use WannaBuild;
our ($verbose, $mail_logs, $list_order, $list_state,