Package: quilt / 0.65-3

check_SERIES_exists Patch series | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
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
Upstream-status: submitted 2014-01-18

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

--- a/quilt/scripts/patchfns.in
+++ b/quilt/scripts/patchfns.in
@@ -343,6 +343,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
 }