diff options
author | joey <joey> | 2002-08-18 05:46:40 +0000 |
---|---|---|
committer | joey <joey> | 2002-08-18 05:46:40 +0000 |
commit | 0d0609d0225291aa9badde5be1f633bcc55c2ccd (patch) | |
tree | 717a723320522f80d3ce0d3659f0ab6903cb2dd9 /dh_perl | |
parent | 99a3ec036f753431d19b2032ab9d978a269b85b2 (diff) | |
download | debhelper-0d0609d0225291aa9badde5be1f633bcc55c2ccd.tar.gz |
r543: * Patch from Andrew Suffield to make dh_perl understand #!/usr/bin/env perl
Closes: #156243
Diffstat (limited to 'dh_perl')
-rwxr-xr-x | dh_perl | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -106,7 +106,7 @@ foreach my $package (@{$dh{DOPACKAGES}}) { return unless -f and (-x or /\.pl$/); local *F; return unless open F, $_; - if (read F, local $_, 32 and m%^#!\s*/usr/bin/perl\s%) { + if (read F, local $_, 32 and m%^#!\s*(/usr/bin/perl|/usr/bin/env\s+perl)\s%) { $deps |= PROGRAM; } close F; |