quilt-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Quilt-dev] [patch] verbose error message when the serie file does not e


From: Martin Quinson
Subject: [Quilt-dev] [patch] verbose error message when the serie file does not exist
Date: Mon, 23 Mar 2020 00:06:47 +0100

Hello there,

the amount of patches we have in the Debian package tend to increase
with the years, and I'd like to have your feedback on them, and
hopefully get them integrated to reduce the maintainance burden.

I'll try to get all our patches discussed here one after the other, if
you don't mind.

Here is a first very simple patch that I hope will be rather
consensual. It simply displays an error message when the serie file
does not exist (provided that the verbose option is activated).  This
was requested back in 2006 by a user who wanted his own PEBKAC to be
explicitely reported. 

Would it be acceptable for inclusion?

Thanks in advance,
Mt.

--------

Description: verbose error message when the series file does not exist
 patchfns.in(cat_series): Displays an error message when the $SERIES
 file does not exist, and when run in verbose mode.
Bug-Debian: https://bugs.debian.org/369908

---
 quilt/scripts/patchfns.in |    3 +++
 1 file changed, 3 insertions(+)

--- a/quilt/scripts/patchfns.in
+++ b/quilt/scripts/patchfns.in
@@ -358,6 +358,9 @@
                sed -e '/^#/d' -e 's/^[ '$'\t'']*//' \
                    -e 's/[ '$'\t''].*//' -e '/^$/d' "$SERIES"
        else
+               if [ "$opt_verbose" ]; then
+                       echo $"No series file found\n" >&2
+               fi
                return 1
        fi
 }

Attachment: signature.asc
Description: PGP signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]