File: hashbang.patch

package info (click to toggle)
libhttp-proxy-perl 0.301-1%2Bdeb8u1
  • links: PTS, VCS
  • area: main
  • in suites: jessie
  • size: 636 kB
  • ctags: 164
  • sloc: perl: 2,403; makefile: 2
file content (27 lines) | stat: -rw-r--r-- 511 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
Description: add/fix hashbangs in example scripts
Forwarded: no
Author: gregor herrmann <gregoa@debian.org>
Last-Update: 2011-04-04

--- a/eg/flv.pl
+++ b/eg/flv.pl
@@ -1,4 +1,4 @@
-#!/usr/bin/env perl
+#!/usr/bin/perl
 use strict;
 use warnings;
 use HTTP::Proxy;
--- a/eg/js.pl
+++ b/eg/js.pl
@@ -1,3 +1,4 @@
+#!/usr/bin/perl -w
 use HTTP::Proxy;
 use HTTP::Proxy::BodyFilter::save;
 
--- a/eg/rfc.pl
+++ b/eg/rfc.pl
@@ -1,3 +1,4 @@
+#!/usr/bin/perl -w
 use HTTP::Proxy;
 use HTTP::Proxy::BodyFilter::save;