aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSitaram Chamarty <sitaram@atc.tcs.com>2016-09-05 07:31:51 +0530
committerSitaram Chamarty <sitaram@atc.tcs.com>2016-09-05 07:31:55 +0530
commit35e0b2a9c967005fd7ecb6708388a88ccb85844e (patch)
treed080d4241923c26f0ce4ea61d1125cf16b76cb4c
parentssh-authkeys-split: do not zap keys without trailing newlines (diff)
downloadgitolite-gentoo-35e0b2a9c967005fd7ecb6708388a88ccb85844e.tar.gz
gitolite-gentoo-35e0b2a9c967005fd7ecb6708388a88ccb85844e.tar.bz2
gitolite-gentoo-35e0b2a9c967005fd7ecb6708388a88ccb85844e.zip
prep for perl 5.26 removing "." from @INC
Someone on irc found that debian -- per [1] -- has already implemented it, so gitolite fails. This fix is useful even on older perls; I should have done it long ago. (It prevents perl searching all over @INC for the file when we *know* it's right here under $PWD). [1]: https://lists.debian.org/debian-devel-announce/2016/08/msg00013.html
-rw-r--r--src/lib/Gitolite/Conf/Load.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/Gitolite/Conf/Load.pm b/src/lib/Gitolite/Conf/Load.pm
index a477486..5a5db65 100644
--- a/src/lib/Gitolite/Conf/Load.pm
+++ b/src/lib/Gitolite/Conf/Load.pm
@@ -276,7 +276,7 @@ sub load_common {
return;
}
- my $cc = "conf/gitolite.conf-compiled.pm";
+ my $cc = "./conf/gitolite.conf-compiled.pm";
_die "parse '$cc' failed: " . ( $! or $@ ) unless do $cc;