]> git.donarmstrong.com Git - wannabuild.git/commitdiff
Make it use paths directly to our files.
authorKurt Roeckx <kurt@roeckx.be>
Sun, 6 Sep 2009 17:44:27 +0000 (17:44 +0000)
committerKurt Roeckx <kurt@roeckx.be>
Sun, 6 Sep 2009 17:44:27 +0000 (17:44 +0000)
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.

bin/keep-latest
bin/wanna-build

index f1383e1dad3d2612c86452bc7c2dc53804be76bf..1aedc49959782175e9ca6815561d449c77484c40 100755 (executable)
@@ -3,6 +3,7 @@
 use strict;
 use warnings;
 
+use lib '/org/wanna-build/bin';
 use WannaBuild; # for version compare
 
 if (!@ARGV) {
index f929b46fb338955e179ceb3dc521df431d95a05e..c04c25827294218824191aaca922a5e428424bcf 100755 (executable)
@@ -25,7 +25,7 @@ $basedir ||= "/var/lib/debbuild";
 $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;
@@ -39,6 +39,7 @@ use POSIX;
 use FileHandle;
 use File::Copy;
 use DBI;
+use lib '/org/wanna-build/bin';
 use WannaBuild;
 
 our ($verbose, $mail_logs, $list_order, $list_state,