changeset 22015:72f90ea7ae34

Don't assume perl is at /usr/bin/perl, use /usr/bin/env instead. This is not foolproof, but it's consistent with what we're doing for Python. If this causes problems, we can revert or try something else. Refs #4436
author Richard Laager <rlaager@wiktel.com>
date Sat, 05 Jan 2008 18:41:33 +0000
parents 942bf314fc8a
children aba0620b1a37
files libpurple/plugins/perl/common/fallback/const-c.inc libpurple/plugins/test.pl po/check_po.pl po/stats.pl
diffstat 4 files changed, 4 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/libpurple/plugins/perl/common/fallback/const-c.inc	Sat Jan 05 18:36:23 2008 +0000
+++ b/libpurple/plugins/perl/common/fallback/const-c.inc	Sat Jan 05 18:41:33 2008 +0000
@@ -33,7 +33,7 @@
      Regenerate these constant functions by feeding this entire source file to
      perl -x
 
-#!/usr/bin/perl -w
+#!/usr/bin/env perl -w
 use ExtUtils::Constant qw (constant_types C_constant XS_constant);
 
 my $types = {map {($_, 1)} qw(IV)};
--- a/libpurple/plugins/test.pl	Sat Jan 05 18:36:23 2008 +0000
+++ b/libpurple/plugins/test.pl	Sat Jan 05 18:41:33 2008 +0000
@@ -1,4 +1,4 @@
-#!/usr/bin/perl -w
+#!/usr/bin/env perl -w
 
 use Gaim;
 
--- a/po/check_po.pl	Sat Jan 05 18:36:23 2008 +0000
+++ b/po/check_po.pl	Sat Jan 05 18:41:33 2008 +0000
@@ -1,4 +1,4 @@
-#!/usr/bin/perl -w
+#!/usr/bin/env perl -w
 #
 # check_po.pl  -  check po file translations for likely errors
 #
--- a/po/stats.pl	Sat Jan 05 18:36:23 2008 +0000
+++ b/po/stats.pl	Sat Jan 05 18:41:33 2008 +0000
@@ -1,4 +1,4 @@
-#!/usr/bin/perl
+#!/usr/bin/env perl
 
 # Copyright 2003-2005 Nathan Walp <faceprint@faceprint.com>
 #