diff options
author | Eric Wong <e@80x24.org> | 2014-04-12 00:09:30 +0000 |
---|---|---|
committer | Eric Wong <e@80x24.org> | 2014-04-12 00:09:30 +0000 |
commit | 6e4654d5c509a2772f9fa8dcd0c46e05ca5feaea (patch) | |
tree | 9a6f3fb79516eef4191fad49d319ff6fc5ced702 | |
parent | 1d21f6f6f043b5e245e8ecb4817852fe2ecf4990 (diff) | |
download | public-inbox-6e4654d5c509a2772f9fa8dcd0c46e05ca5feaea.tar.gz |
This makes it easier to configure for systems which determine a script is a CGI script based on suffix.
-rw-r--r-- | Makefile.PL | 2 | ||||
-rwxr-xr-x | public-inbox.cgi (renamed from public-inbox-cgi) | 0 | ||||
-rw-r--r-- | t/cgi.t | 2 |
3 files changed, 2 insertions, 2 deletions
diff --git a/Makefile.PL b/Makefile.PL index e1bd1cf0..245bb887 100644 --- a/Makefile.PL +++ b/Makefile.PL @@ -8,7 +8,7 @@ WriteMakefile( VERSION => '0.0.0', AUTHOR => 'Eric Wong <normalperson@yhbt.net>', ABSTRACT => 'public-inbox server infrastructure', - EXE_FILES => [qw/public-inbox-mda public-inbox-cgi + EXE_FILES => [qw/public-inbox-mda public-inbox.cgi public-inbox-learn/], PREREQ_PM => { # note: we use ssoma(1) and spamc(1), NOT the Perl modules diff --git a/public-inbox-cgi b/public-inbox.cgi index 6a6f31e2..6a6f31e2 100755 --- a/public-inbox-cgi +++ b/public-inbox.cgi @@ -8,7 +8,7 @@ use File::Temp qw/tempdir/; use Cwd; use IPC::Run qw/run/; -use constant CGI => "blib/script/public-inbox-cgi"; +use constant CGI => "blib/script/public-inbox.cgi"; my $mda = "blib/script/public-inbox-mda"; my $tmpdir = tempdir(CLEANUP => 1); my $home = "$tmpdir/pi-home"; |