From 481fb377373b90c9966015199dc8a58c277ba065 Mon Sep 17 00:00:00 2001 From: Matt Palmer Date: Thu, 16 Dec 2010 19:43:45 +1100 Subject: Handle comments in debian/control. Closes: #603881 Thanks to Eric Pozharski for the initial patch. This version is slightly modified, as it provides a test case, and is compliant with Policy 5.2, which states that comments must not have leading whitespace before the hash. --- pbuilder-satisfydepends-funcs | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'pbuilder-satisfydepends-funcs') diff --git a/pbuilder-satisfydepends-funcs b/pbuilder-satisfydepends-funcs index fb8ac95..651cbcc 100755 --- a/pbuilder-satisfydepends-funcs +++ b/pbuilder-satisfydepends-funcs @@ -61,6 +61,12 @@ t store /^$/ d b pgploop } +: leadloop +/^#/ { + n + /^$/ d + b leadloop +} /^$/q d : store -- cgit v1.2.3