(duh!) report rc file syntax errors
the "duh!" is because I should have done this long ago...
This commit is contained in:
parent
a454111d32
commit
621815611c
|
@ -61,7 +61,9 @@ $UNSAFE_PATT = qr([`~#\$\&()|;<>]);
|
||||||
my $current_data_version = "3.0";
|
my $current_data_version = "3.0";
|
||||||
|
|
||||||
my $rc = glrc('filename');
|
my $rc = glrc('filename');
|
||||||
do $rc if -r $rc;
|
if (-r $rc) {
|
||||||
|
do $rc or die $@;
|
||||||
|
}
|
||||||
if ( defined($GL_ADMINDIR) ) {
|
if ( defined($GL_ADMINDIR) ) {
|
||||||
say2 "";
|
say2 "";
|
||||||
say2 "FATAL: '$rc' seems to be for older gitolite; please see doc/g2migr.mkd\n" . "(online at http://sitaramc.github.com/gitolite/g2migr.html)";
|
say2 "FATAL: '$rc' seems to be for older gitolite; please see doc/g2migr.mkd\n" . "(online at http://sitaramc.github.com/gitolite/g2migr.html)";
|
||||||
|
|
Loading…
Reference in a new issue