[Catalyst-commits] r9235 - Catalyst-Devel/1.10/trunk/lib/Catalyst

zarquon at dev.catalyst.perl.org zarquon at dev.catalyst.perl.org
Sat Feb 7 01:57:11 GMT 2009


Author: zarquon
Date: 2009-02-07 01:57:11 +0000 (Sat, 07 Feb 2009)
New Revision: 9235

Modified:
   Catalyst-Devel/1.10/trunk/lib/Catalyst/Helper.pm
Log:
use /usr/bin/env perl instead of a hardcoded shebang

Modified: Catalyst-Devel/1.10/trunk/lib/Catalyst/Helper.pm
===================================================================
--- Catalyst-Devel/1.10/trunk/lib/Catalyst/Helper.pm	2009-02-06 23:01:31 UTC (rev 9234)
+++ Catalyst-Devel/1.10/trunk/lib/Catalyst/Helper.pm	2009-02-07 01:57:11 UTC (rev 9235)
@@ -126,7 +126,7 @@
     $self->{script          } = File::Spec->catdir( $self->{dir}, 'script' );
     $self->{appprefix       } = Catalyst::Utils::appprefix($name);
     $self->{appenv          } = Catalyst::Utils::class2env($name);
-    $self->{startperl       } = "#!$Config{perlpath} -w";
+    $self->{startperl       } = "/usr/bin/env perl -w";
     $self->{scriptgen       } = $Catalyst::Devel::CATALYST_SCRIPT_GEN || 4;
     $self->{catalyst_version} = $Catalyst::VERSION;
     $self->{author          } = $self->{author} = $ENV{'AUTHOR'}




More information about the Catalyst-commits mailing list