summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarkus Ullmann <jokey@gentoo.org>2007-08-27 11:16:13 +0000
committerMarkus Ullmann <jokey@gentoo.org>2007-08-27 11:16:13 +0000
commite6a22ee57a796fc9bfa18e8db42a18f2b757150b (patch)
tree397be039f512d98d6e5652ff5c21b540e9d26b7e /eclass/php-ext-source-r1.eclass
parentFix for beta/rc versions in SRC_URI (diff)
downloadgentoo-2-e6a22ee57a796fc9bfa18e8db42a18f2b757150b.tar.gz
gentoo-2-e6a22ee57a796fc9bfa18e8db42a18f2b757150b.tar.bz2
gentoo-2-e6a22ee57a796fc9bfa18e8db42a18f2b757150b.zip
Die properly on errors
Diffstat (limited to 'eclass/php-ext-source-r1.eclass')
-rw-r--r--eclass/php-ext-source-r1.eclass6
1 files changed, 3 insertions, 3 deletions
diff --git a/eclass/php-ext-source-r1.eclass b/eclass/php-ext-source-r1.eclass
index 0b863c31d799..adb4e7f6ca15 100644
--- a/eclass/php-ext-source-r1.eclass
+++ b/eclass/php-ext-source-r1.eclass
@@ -1,6 +1,6 @@
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/php-ext-source-r1.eclass,v 1.11 2007/07/21 11:23:11 chtekk Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/php-ext-source-r1.eclass,v 1.12 2007/08/27 11:16:13 jokey Exp $
#
# Author: Tal Peer <coredumb@gentoo.org>
# Author: Stuart Herbert <stuart@gentoo.org>
@@ -73,12 +73,12 @@ php-ext-source-r1_src_install() {
# Let's put the default module away
insinto "${EXT_DIR}"
- newins "${WORKDIR}/${PHP_EXT_NAME}-default.so" "${PHP_EXT_NAME}.so"
+ newins "${WORKDIR}/${PHP_EXT_NAME}-default.so" "${PHP_EXT_NAME}.so" || die "Unable to install extension"
# And now the versioned one, if it exists
if has_concurrentmodphp ; then
insinto "${EXT_DIR}-versioned"
- newins "${WORKDIR}/${PHP_EXT_NAME}-versioned.so" "${PHP_EXT_NAME}.so"
+ newins "${WORKDIR}/${PHP_EXT_NAME}-versioned.so" "${PHP_EXT_NAME}.so" || die "Unable to install extension"
fi
php-ext-base-r1_src_install