quilt-dev
[Top][All Lists]
Advanced

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

[Quilt-dev] [patch 3/5] verbose error message when the serie file does n


From: martin . quinson
Subject: [Quilt-dev] [patch 3/5] verbose error message when the serie file does not exist
Date: Wed, 19 Dec 2012 15:35:13 +0100
User-agent: quilt/0.60-1

Description: verbose error message when the serie file does not exist
 Displays an error message when the $SERIES file does not exist and when run
 in verbose mode.
Bug-Debian: http://bugs.debian.org/369908 
Upstream-status: submitted 2012-12-19

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

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




reply via email to

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