[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[tyndur-devel] [PATCH 1/3] lbuilds: Build-Abhängigkeiten



From: Max Reitz <max@xxxxxxxxxx>

* Es ist sinnvoll abzubrechen, wenn die nicht erfüllt werden
  können.

Signed-off-by: Max Reitz <max@xxxxxxxxxx>
---
 lbuild.sh |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/lbuild.sh b/lbuild.sh
index 6cc1cc7..c187f65 100755
--- a/lbuild.sh
+++ b/lbuild.sh
@@ -84,7 +84,7 @@ internal_prepare_env() {
     # Buildtime-Dependencies abarbeiten
     for dep in ${BUILD_DEPEND}; do
         pack="${PACKSDIR}/${dep:1}.tar"
-        tar -C "${WORKDIR}/env" -xf "${pack}"
+        tar -C "${WORKDIR}/env" -xf "${pack}" || die "Abhaengigkeit ${dep:1} konnte nicht erfuellt werden."
     done
 
     cp -rf ${WORKDIR}/env/packages/*/*/* ${WORKDIR}/env/
-- 
1.6.4.2