ci: strip comments from the control file for dch's weak parser
This commit is contained in:
parent
d8376609d1
commit
ab826e67ef
|
@ -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" \
|
||||
|
|
Loading…
Reference in New Issue