...From PI_REPOBROWSE_CONFIG. The "PI_" prefix is
a bit too long and "repobrowse" is nearly an independent
project at this point from a user-perspective.
}
sub default_file {
- my $f = $ENV{PI_REPOBROWSE_CONFIG};
+ my $f = $ENV{REPOBROWSE_CONFIG};
return $f if defined $f;
PublicInbox::Config::config_dir() . '/repobrowse_config';
}
print $fh '[repo "test.git"]', "\n",
"\t", "path = $git_dir", "\n" and
close $fh), 'created repobrowse config');
- local $ENV{PI_REPOBROWSE_CONFIG} = $repobrowse_config;
+ local $ENV{REPOBROWSE_CONFIG} = $repobrowse_config;
ok($app = require $psgi, 'loaded PSGI app');
}