]> Sergey Matveev's repositories - public-inbox.git/commitdiff
cgi: rename to have .cgi suffix
authorEric Wong <e@80x24.org>
Sat, 12 Apr 2014 00:09:30 +0000 (00:09 +0000)
committerEric Wong <e@80x24.org>
Sat, 12 Apr 2014 00:09:30 +0000 (00:09 +0000)
This makes it easier to configure for systems which
determine a script is a CGI script based on suffix.

Makefile.PL
public-inbox.cgi [moved from public-inbox-cgi with 100% similarity]
t/cgi.t

index e1bd1cf08c665078df3cbe4365f0c7e7f5c48b1b..245bb8875e4b3ea75cf29f89449eb86e3e15f9a9 100644 (file)
@@ -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
similarity index 100%
rename from public-inbox-cgi
rename to public-inbox.cgi
diff --git a/t/cgi.t b/t/cgi.t
index afbe604fb3bf22d7cf4961adef8be363620766bc..a66c582520ecf0190194ebd2e55bc7f7505da257 100644 (file)
--- 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";