Fix the d/rules script break on empty PHP_BREAKS_PACKAGES

This commit is contained in:
Ondřej Surý 2021-11-04 14:56:31 +01:00
parent de1a17c3d5
commit 38adc98b12

2
debian/rules vendored
View file

@ -51,7 +51,7 @@ override_dh_installcron:
debian/control: debian/control.in debian/rules debian/changelog
$(SED) -e "s/@PHP_VERSION@/$(PHP_DEFAULT_VERSION)/g" \
-e "s/@PHP_DEV_PACKAGES@/$(PHP_DEV_PACKAGES)/g" \
-e "s/@PHP_BREAKS_PACKAGES@/$(PHP_BREAKS_PACKAGES)/g" \
-e "s/@PHP_BREAKS_PACKAGES@/$(PHP_BREAKS_PACKAGES),/g" \
>$@ <$<
echo >> $@
cat debian/modulelist | while read -r module description; do \