diff options
author | Eric Wong <e@80x24.org> | 2016-03-05 07:47:10 +0000 |
---|---|---|
committer | Eric Wong <e@80x24.org> | 2016-04-05 18:58:27 +0000 |
commit | 541b8a4e14c471d4746bfda597691155dae0f960 (patch) | |
tree | 971da07fbd49d1e104be8ef399a28719e4830bbf | |
parent | 5940f0cab7017aeefeb5df272b0a73897ce175c2 (diff) | |
download | public-inbox-541b8a4e14c471d4746bfda597691155dae0f960.tar.gz |
...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.
-rw-r--r-- | lib/PublicInbox/RepobrowseConfig.pm | 2 | ||||
-rw-r--r-- | t/repobrowse_common_git.perl | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/lib/PublicInbox/RepobrowseConfig.pm b/lib/PublicInbox/RepobrowseConfig.pm index 5752beed..703212d9 100644 --- a/lib/PublicInbox/RepobrowseConfig.pm +++ b/lib/PublicInbox/RepobrowseConfig.pm @@ -17,7 +17,7 @@ sub new { } 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'; } diff --git a/t/repobrowse_common_git.perl b/t/repobrowse_common_git.perl index 80f1973e..116ae5ab 100644 --- a/t/repobrowse_common_git.perl +++ b/t/repobrowse_common_git.perl @@ -55,7 +55,7 @@ ok(-f $psgi, 'psgi example for repobrowse.psgi found'); 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'); } |