# HG changeset patch # User Richard Laager # Date 1199558493 0 # Node ID 72f90ea7ae349240508487e09f023d9fcf27dac0 # Parent 942bf314fc8a69986b1252a6cc6e11b064807649 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 diff -r 942bf314fc8a -r 72f90ea7ae34 libpurple/plugins/perl/common/fallback/const-c.inc --- 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)}; diff -r 942bf314fc8a -r 72f90ea7ae34 libpurple/plugins/test.pl --- 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; diff -r 942bf314fc8a -r 72f90ea7ae34 po/check_po.pl --- 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 # diff -r 942bf314fc8a -r 72f90ea7ae34 po/stats.pl --- 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 #