From 8f8a5b974f94610f5e5c175a2ea0af6caa106367 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Piotr=20O=C5=BCarowski?= <piotr@debian.org> Date: Sun, 11 Jul 2010 16:12:10 +0200 Subject: [PATCH] do not ignore errors in debian/rules' loops (two more `set -e`s added, closes: 397499) --- debian/changelog | 2 ++ debian/rules | 2 ++ 2 files changed, 4 insertions(+) diff --git a/debian/changelog b/debian/changelog index 197dfe0..bafee30 100644 --- a/debian/changelog +++ b/debian/changelog @@ -12,6 +12,8 @@ python-defaults (2.6.5-6) unstable; urgency=low 521508, thanks to Carl Chenet for the original patch) - print nice error message if computed set of supported versions is empty (closes: 583392) + * debian/rules: do not ignore errors (two more `set -e`s added, closes: + 397499) [ Scott Kitterman ] * Merge changes back from Ubuntu package: diff --git a/debian/rules b/debian/rules index ce54471..e21d9f8 100755 --- a/debian/rules +++ b/debian/rules @@ -95,6 +95,7 @@ clean: control-file rm -rf debian/python-policy.html rm -f faq/*.h2 faq/*.html + set -e;\ for f in debian/*.in; do \ f2=`echo $$f | sed "s,PVER,$(PVER),g;s/VER/$(VER)/g;s,\.in$$,,"`; \ if [ $$f2 != debian/control ]; then \ @@ -107,6 +108,7 @@ clean: control-file stamp-control: : # We have to prepare the various control files + set -e;\ for f in debian/*.in; do \ f2=`echo $$f | sed "s,PVER,$(PVER),g;s/VER/$(VER)/g;s,\.in$$,,"`; \ if [ $$f2 != debian/control ]; then \ -- GitLab