Do not fail build when greps to generate udeb exclusion list return no results or grepped files do not exist.
This commit is contained in:
parent
cf28ec62c6
commit
39876e86b9
|
@ -557,9 +557,9 @@ then
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Excluding udebs
|
# Excluding udebs
|
||||||
grep -v "^#" "${LH_BASE}"/data/debian-cd/"${LH_DEBIAN_INSTALLER_DISTRIBUTION}"/udeb_exclude > exclude
|
grep -v "^#" "${LH_BASE}"/data/debian-cd/"${LH_DEBIAN_INSTALLER_DISTRIBUTION}"/udeb_exclude > exclude || true
|
||||||
grep -v "^#" "${LH_BASE}"/data/debian-cd/"${LH_DEBIAN_INSTALLER_DISTRIBUTION}"/exclude-udebs >> exclude
|
grep -v "^#" "${LH_BASE}"/data/debian-cd/"${LH_DEBIAN_INSTALLER_DISTRIBUTION}"/exclude-udebs >> exclude || true
|
||||||
grep -v "^#" "${LH_BASE}"/data/debian-cd/"${LH_DEBIAN_INSTALLER_DISTRIBUTION}"/exclude-udebs-${LH_ARCHITECTURE} >> exclude
|
grep -v "^#" "${LH_BASE}"/data/debian-cd/"${LH_DEBIAN_INSTALLER_DISTRIBUTION}"/exclude-udebs-${LH_ARCHITECTURE} >> exclude || true
|
||||||
|
|
||||||
# Local exclude file
|
# Local exclude file
|
||||||
if [ -e ../config/binary_debian-installer/udeb_exclude ]
|
if [ -e ../config/binary_debian-installer/udeb_exclude ]
|
||||||
|
|
Loading…
Reference in New Issue