diff options
-rwxr-xr-x | pbuilder-satisfydepends-funcs | 5 | ||||
-rwxr-xr-x | test_pbuilder-satisfydepends-funcs | 3 |
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 |