diff options
Diffstat (limited to 'quilt/patches/check_SERIES_exists')
-rw-r--r-- | quilt/patches/check_SERIES_exists | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/quilt/patches/check_SERIES_exists b/quilt/patches/check_SERIES_exists new file mode 100644 index 0000000..077b952 --- /dev/null +++ b/quilt/patches/check_SERIES_exists @@ -0,0 +1,24 @@ +Displays an error message when the $SERIES file does not exist and when run +in verbose mode. + +Closes: #369908 + +Status wrt upstream: not submitted. + + +--- + 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 + } |