summaryrefslogtreecommitdiff
path: root/quilt/patches/check_SERIES_exists
diff options
context:
space:
mode:
authorIgor Pashev <igor.pashev@nexenta.com>2012-11-13 21:20:46 +0400
committerIgor Pashev <igor.pashev@nexenta.com>2012-11-13 21:20:46 +0400
commitd73deca60d52f13127f8d7f0145fc7bf01f63e85 (patch)
treeb4a949a58ae7f425eb7d14e8a1f6695dc0de9284 /quilt/patches/check_SERIES_exists
parent135c50cb24211d6cf5873bdb3bb972aaad10f42b (diff)
downloadcibs-pkgs-d73deca60d52f13127f8d7f0145fc7bf01f63e85.tar.gz
Quilt with Debian patches
Diffstat (limited to 'quilt/patches/check_SERIES_exists')
-rw-r--r--quilt/patches/check_SERIES_exists24
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
+ }