diff --git a/scripts/ci/debsrcbuilder.sh b/scripts/ci/debsrcbuilder.sh index 75bfe33ebc..f8d382c807 100755 --- a/scripts/ci/debsrcbuilder.sh +++ b/scripts/ci/debsrcbuilder.sh @@ -31,6 +31,10 @@ echo "changing directory to ${src_repo}/debbuild/${dst_full_name}" cd ${src_repo}/debbuild/${dst_full_name} (cd debian && ./bootstrap.sh) +# dch can't handle comments in control file +(cd debian; \ + mv control control.orig; \ + grep -e '^#' -v control.orig > control) # dependency: libparse-debcontrol-perl dch -v "${dst_full_version}-1" \ -M --force-distribution -D "$distro" \