im.pidgin.pidgin: 80c543d5fbf1744fcd9a55288b6161233a4ed596

rlaager at pidgin.im rlaager at pidgin.im
Sat Jan 5 13:45:45 EST 2008


-----------------------------------------------------------------
Revision: 80c543d5fbf1744fcd9a55288b6161233a4ed596
Ancestor: c43fda8a19c89df5065cab35ae3cbe497f1f2903
Author: rlaager at pidgin.im
Date: 2008-01-05T18:41:33
Branch: im.pidgin.pidgin

Modified files:
        libpurple/plugins/perl/common/fallback/const-c.inc
        libpurple/plugins/test.pl po/check_po.pl po/stats.pl

ChangeLog: 

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

-------------- next part --------------
============================================================
--- libpurple/plugins/perl/common/fallback/const-c.inc	e3dba9641d503c1b45db81be92e794a9a1654da4
+++ libpurple/plugins/perl/common/fallback/const-c.inc	9a116ee7e4ca2de661f1673395fbfa14472ef0b6
@@ -33,7 +33,7 @@ constant (pTHX_ const char *name, STRLEN
      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)};
============================================================
--- libpurple/plugins/test.pl	105e850d929ee93f3431b8983296702d8763d4a9
+++ libpurple/plugins/test.pl	538be7ec7e701003f7227f38fb97ecbb407f2e15
@@ -1,4 +1,4 @@
-#!/usr/bin/perl -w
+#!/usr/bin/env perl -w
 
 use Gaim;
 
============================================================
--- po/check_po.pl	982b9aebab3f8a9e5eb246f7b1b6522db7442c0a
+++ po/check_po.pl	c9e1eeb83993f06de2fd4a0daec6ff0d3ae978ed
@@ -1,4 +1,4 @@
-#!/usr/bin/perl -w
+#!/usr/bin/env perl -w
 #
 # check_po.pl  -  check po file translations for likely errors
 #
============================================================
--- po/stats.pl	f10f492ca0ef2602e2d7b36d0b446fc5ec8edd11
+++ po/stats.pl	1e3b7d4b91acdde1cc1b096474390b961ea66b39
@@ -1,4 +1,4 @@
-#!/usr/bin/perl
+#!/usr/bin/env perl
 
 # Copyright 2003-2005 Nathan Walp <faceprint at faceprint.com>
 #


More information about the Commits mailing list