File: 0002-Fix-path-to-perl.patch

package info (click to toggle)
lyx 2.4.4-1
  • links: PTS, VCS
  • area: main
  • in suites: forky
  • size: 132,452 kB
  • sloc: cpp: 259,835; ansic: 106,595; xml: 72,791; python: 32,884; sh: 7,633; makefile: 6,592; pascal: 2,131; perl: 2,007; objc: 1,084; tcl: 163; sed: 16
file content (50 lines) | stat: -rw-r--r-- 1,293 bytes parent folder | download | duplicates (4)
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
40
41
42
43
44
45
46
47
48
49
50
From: "Dr. Tobias Quathamer" <toddy@debian.org>
Date: Sun, 1 Sep 2019 21:08:40 +0200
Subject: Fix path to perl

As this is a Debian specific change to comply with policy,
it's not needed to incorporate the patch in the LyX
upstream sources.

Forwarded: not-needed
---
 lib/scripts/checkKeys.pl.in | 2 +-
 lib/scripts/lyx_batch.pl.in | 2 +-
 lib/scripts/prefTest.pl.in  | 3 +--
 3 files changed, 3 insertions(+), 4 deletions(-)

diff --git a/lib/scripts/checkKeys.pl.in b/lib/scripts/checkKeys.pl.in
index 47df9cc..4ea8f1c 100644
--- a/lib/scripts/checkKeys.pl.in
+++ b/lib/scripts/checkKeys.pl.in
@@ -1,4 +1,4 @@
-#! /usr/bin/env perl
+#! /usr/bin/perl
 # -*- mode: perl; -*-
 
 # checkKeys.pl testname
diff --git a/lib/scripts/lyx_batch.pl.in b/lib/scripts/lyx_batch.pl.in
index 11c9627..7640d5d 100644
--- a/lib/scripts/lyx_batch.pl.in
+++ b/lib/scripts/lyx_batch.pl.in
@@ -1,4 +1,4 @@
-#! /usr/bin/env perl
+#! /usr/bin/perl
 # -*- mode: perl; -*-
 
 # lyx_batch.pl testname
diff --git a/lib/scripts/prefTest.pl.in b/lib/scripts/prefTest.pl.in
index d999b6a..2f55f34 100755
--- a/lib/scripts/prefTest.pl.in
+++ b/lib/scripts/prefTest.pl.in
@@ -1,4 +1,4 @@
-#! /usr/bin/env perl
+#! /usr/bin/perl
 # -*- mode: perl; -*-
 
 use strict;
@@ -85,4 +85,3 @@ if (@ctestpars) {
 }
 
 exit($res);
-