WrapCGI: portability fix for test shell script
Rafael Kitover [Fri, 4 Jul 2008 00:56:01 +0000 (00:56 +0000)]
META.yml
lib/Catalyst/Controller/CGIBin.pm
lib/Catalyst/Controller/WrapCGI.pm
t/lib/TestCGIBin/root/cgi-bin/test.sh

index 88a9625..dac8bd7 100644 (file)
--- a/META.yml
+++ b/META.yml
@@ -24,4 +24,4 @@ requires:
   Task::Weaken: 0
   URI: 0
   parent: 0
-version: 0.002
+version: 0.0021
index db21f50..1d2536c 100644 (file)
@@ -7,7 +7,6 @@ use Class::C3;
 use URI::Escape;
 use File::Slurp 'slurp';
 use File::Find::Rule ();
-use Cwd;
 use Catalyst::Exception ();
 use File::Spec::Functions qw/splitdir abs2rel/;
 use IPC::Open3;
index a4cd5de..e2e7078 100644 (file)
@@ -15,11 +15,11 @@ Catalyst::Controller::WrapCGI - Run CGIs in Catalyst
 
 =head1 VERSION
 
-Version 0.002
+Version 0.0021
 
 =cut
 
-our $VERSION = '0.002';
+our $VERSION = '0.0021';
 
 =head1 SYNOPSIS
 
index bcaf85f..3d50f7a 100755 (executable)
@@ -1,5 +1,5 @@
 #!/bin/sh
 
-/bin/echo -e 'Content-Type: text/html; charset=ISO-8859-1\r\n'
+printf '%s\r\n' 'Content-Type: text/html; charset=ISO-8859-1'
 
 echo "Hello!"