diff libpurple/plugins/perl/common/fallback/const-c.inc @ 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 2f8274ce570a
children
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)};