aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xpbuilder-satisfydepends-funcs5
-rwxr-xr-xtest_pbuilder-satisfydepends-funcs3
2 files changed, 7 insertions, 1 deletions
diff --git a/pbuilder-satisfydepends-funcs b/pbuilder-satisfydepends-funcs
index 651cbcc..0b955e3 100755
--- a/pbuilder-satisfydepends-funcs
+++ b/pbuilder-satisfydepends-funcs
@@ -62,6 +62,11 @@ t store
b pgploop
}
: leadloop
+/^[ \t]*$/ {
+ n
+ /^$/ d
+ b leadloop
+}
/^#/ {
n
/^$/ d
diff --git a/test_pbuilder-satisfydepends-funcs b/test_pbuilder-satisfydepends-funcs
index 14fbb53..b652f0a 100755
--- a/test_pbuilder-satisfydepends-funcs
+++ b/test_pbuilder-satisfydepends-funcs
@@ -77,7 +77,8 @@ EOF
test_get_source_control_field_with_comments() {
cat <<EOF >"$DEBIAN_CONTROL"
# This is a comment
-# So is this
+
+# So is this, but with a blank line above me
Format: 1.0
Source: something-funny
Build-Depends: debhelper, something-else