summaryrefslogtreecommitdiff
path: root/debian/patches/debian/perlbug-editor.diff
blob: 3909e000c8932b74bbd50671a598c3ab9c9479b2 (plain)
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 d1eb1e0..4555d04 100644
--- a/utils/perlbug.PL
+++ b/utils/perlbug.PL
@@ -272,7 +272,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}) {