File: perlbug-editor.diff

package info (click to toggle)
perl 5.42.0-2
  • links: PTS, VCS
  • area: main
  • in suites: experimental
  • size: 128,392 kB
  • sloc: perl: 534,963; ansic: 240,563; sh: 72,042; pascal: 6,934; xml: 2,428; yacc: 1,360; makefile: 1,197; cpp: 208; lisp: 1
file content (22 lines) | stat: -rw-r--r-- 668 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
From: Niko Tyni <ntyni@debian.org>
Date: Sun, 24 Feb 2019 10:15:49 +0200
Subject: Use "editor" as the default perlbug editor, as per Debian policy

Bug-Debian: https://bugs.debian.org/922609
---
 utils/perlbug.PL | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/utils/perlbug.PL b/utils/perlbug.PL
index 4448160..6895709 100644
--- a/utils/perlbug.PL
+++ b/utils/perlbug.PL
@@ -267,7 +267,7 @@ sub Init {
     $ed = $opt{e} || $ENV{VISUAL} || $ENV{EDITOR} || $ENV{EDIT}
 	|| ($Is_VMS && "edit/tpu")
 	|| ($Is_MSWin32 && "notepad")
-	|| "vi";
+	|| "editor";
 
     # Not OK - provide build failure template by finessing OK report
     if ($opt{n}) {