From 39876e86b9a1e225151f315883b69a011a98b46a Mon Sep 17 00:00:00 2001 From: "Cody A.W. Somerville" Date: Thu, 9 Apr 2009 00:29:07 +0200 Subject: Do not fail build when greps to generate udeb exclusion list return no results or grepped files do not exist. --- helpers/lh_binary_debian-installer | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'helpers/lh_binary_debian-installer') diff --git a/helpers/lh_binary_debian-installer b/helpers/lh_binary_debian-installer index 56878e438..f319d2a71 100755 --- a/helpers/lh_binary_debian-installer +++ b/helpers/lh_binary_debian-installer @@ -557,9 +557,9 @@ then fi # 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}"/exclude-udebs >> exclude - 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}"/udeb_exclude > exclude || true + 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 || true # Local exclude file if [ -e ../config/binary_debian-installer/udeb_exclude ] -- cgit v1.2.3