(doh!) make gitolite.pm easier for packagers
should have done this long ago...
This commit is contained in:
parent
cb0a9bdb0c
commit
66b65e5e1d
8 changed files with 17 additions and 8 deletions
|
@ -43,7 +43,8 @@ our %repo_config;
|
|||
my $bindir = $0;
|
||||
$bindir =~ s/\/[^\/]+$//;
|
||||
$bindir = "$ENV{PWD}/$bindir" unless $bindir =~ /^\//;
|
||||
require "$bindir/gitolite.pm";
|
||||
unshift @INC, $bindir;
|
||||
require gitolite or die "parse gitolite.pm failed\n";
|
||||
|
||||
# ask where the rc file is, get it, and "do" it
|
||||
&where_is_rc();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue