summaryrefslogtreecommitdiff
path: root/eclass
diff options
context:
space:
mode:
authorTomas Chvatal <scarabeus@gentoo.org>2010-09-17 21:44:20 +0000
committerTomas Chvatal <scarabeus@gentoo.org>2010-09-17 21:44:20 +0000
commit4ca0395ad23621e02ab0d844d42c378dc0980165 (patch)
tree1791cc591a195eba53ddbadaac79bbbbd15ea59e /eclass
parentVersion bump. (diff)
downloadhistorical-4ca0395ad23621e02ab0d844d42c378dc0980165.tar.gz
historical-4ca0395ad23621e02ab0d844d42c378dc0980165.tar.bz2
historical-4ca0395ad23621e02ab0d844d42c378dc0980165.zip
Die when uncompressing patch fail. Acked by vapier and robbat2.
Diffstat (limited to 'eclass')
-rw-r--r--eclass/kernel-2.eclass6
1 files changed, 3 insertions, 3 deletions
diff --git a/eclass/kernel-2.eclass b/eclass/kernel-2.eclass
index 4c1ebb456165..0ed2255194bb 100644
--- a/eclass/kernel-2.eclass
+++ b/eclass/kernel-2.eclass
@@ -1,6 +1,6 @@
# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/kernel-2.eclass,v 1.240 2010/08/03 18:31:08 robbat2 Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/kernel-2.eclass,v 1.241 2010/09/17 21:44:20 scarabeus Exp $
# Description: kernel.eclass rewrite for a clean base regarding the 2.6
# series of kernel with back-compatibility for 2.4
@@ -870,9 +870,9 @@ unipatch() {
PATCH_ORDER="${z}${STRICT_COUNT}"
mkdir -p ${KPATCH_DIR}/${PATCH_ORDER}/
- $(${PIPE_CMD} ${i} > ${KPATCH_DIR}/${PATCH_ORDER}/${x}.patch${PATCH_LEVEL})
+ $(${PIPE_CMD} ${i} > ${KPATCH_DIR}/${PATCH_ORDER}/${x}.patch${PATCH_LEVEL}) || die "uncompressing patch failed"
else
- $(${PIPE_CMD} ${i} > ${KPATCH_DIR}/${x}.patch${PATCH_LEVEL})
+ $(${PIPE_CMD} ${i} > ${KPATCH_DIR}/${x}.patch${PATCH_LEVEL}) || die "uncompressing patch failed"
fi
fi
fi