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:
Cody A.W. Somerville 2009-04-09 00:29:07 +02:00 committed by Daniel Baumann
parent cf28ec62c6
commit 39876e86b9
1 changed files with 3 additions and 3 deletions

View File

@ -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 ]