File: hashbang.patch

package info (click to toggle)
libipc-run-perl 20220807.0-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 668 kB
  • sloc: perl: 6,216; makefile: 5
file content (39 lines) | stat: -rw-r--r-- 971 bytes parent folder | download | duplicates (2)
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
28
29
30
31
32
33
34
35
36
37
38
39
Description: Fix hashbang to example script
Origin: vendor
Bug-Debian: https://bugs.debian.org/543673
Forwarded: no
Author: Gregor Herrmann <gregoa@debian.org>
Reviewed-by: Salvatore Bonaccorso <carnil@debian.org>
Last-Update: 2017-08-03

--- a/eg/synopsis_scripting
+++ b/eg/synopsis_scripting
@@ -1,3 +1,4 @@
+#!/usr/bin/perl -w
 use strict;
 
 my @cat = qw( cat );
--- a/eg/run_daemon
+++ b/eg/run_daemon
@@ -1,4 +1,4 @@
-#!/usr/local/bin/perl -w
+#!/usr/bin/perl -w
 
 ## An example of how to daemonize.  See the IPC::Run LIMITATIONS section for
 ## some reasons why this can be a bit dangerous.
--- a/eg/abuse/blocking_debug_with_sub_coprocess
+++ b/eg/abuse/blocking_debug_with_sub_coprocess
@@ -1,4 +1,4 @@
-#!/opt/i386-linux/perl/bin/perl -w
+#!/usr/bin/perl -w
 
 ## Submitted by Blair Zajac <blair@orcaware.com>
 
--- a/eg/abuse/timers
+++ b/eg/abuse/timers
@@ -1,4 +1,4 @@
-#!/usr/local/lib/perl -w
+#!/usr/bin/perl -w
 
 use strict;
 use IPC::Run qw( :all );