From: Eric Wong Date: Sat, 12 Apr 2014 00:09:30 +0000 (+0000) Subject: cgi: rename to have .cgi suffix X-Git-Tag: v1.0.0~1265 X-Git-Url: http://www.git.stargrave.org/?p=public-inbox.git;a=commitdiff_plain;h=6e4654d5c509a2772f9fa8dcd0c46e05ca5feaea cgi: rename to have .cgi suffix This makes it easier to configure for systems which determine a script is a CGI script based on suffix. --- 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 ', 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 similarity index 100% rename from public-inbox-cgi rename to public-inbox.cgi diff --git a/t/cgi.t b/t/cgi.t index afbe604f..a66c5825 100644 --- a/t/cgi.t +++ b/t/cgi.t @@ -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";