mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-04-15 08:29:45 +00:00
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 ${src_repo}/debbuild/${dst_full_name}
|
||||||
(cd debian && ./bootstrap.sh)
|
(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
|
# dependency: libparse-debcontrol-perl
|
||||||
dch -v "${dst_full_version}-1" \
|
dch -v "${dst_full_version}-1" \
|
||||||
-M --force-distribution -D "$distro" \
|
-M --force-distribution -D "$distro" \
|
||||||
|
Loading…
x
Reference in New Issue
Block a user