From 6e4654d5c509a2772f9fa8dcd0c46e05ca5feaea Mon Sep 17 00:00:00 2001 From: Eric Wong Date: Sat, 12 Apr 2014 00:09:30 +0000 Subject: [PATCH] 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. --- Makefile.PL | 2 +- public-inbox-cgi => public-inbox.cgi | 0 t/cgi.t | 2 +- 3 files changed, 2 insertions(+), 2 deletions(-) rename public-inbox-cgi => public-inbox.cgi (100%) 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"; -- 2.44.0