diff options
Diffstat (limited to 'debian/patches/debian/perlbug-editor.diff')
-rw-r--r-- | debian/patches/debian/perlbug-editor.diff | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/debian/patches/debian/perlbug-editor.diff b/debian/patches/debian/perlbug-editor.diff new file mode 100644 index 0000000..3909e00 --- /dev/null +++ b/debian/patches/debian/perlbug-editor.diff @@ -0,0 +1,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}) { |