diff options
author | Torsten Veller <tove@gentoo.org> | 2010-05-04 08:03:40 +0000 |
---|---|---|
committer | Torsten Veller <tove@gentoo.org> | 2010-05-04 08:03:40 +0000 |
commit | c8299e1e79f9fc76f7ba6cde426cb9a59d3be10d (patch) | |
tree | af28dfda9ea3e9d94680e781482cedf1321f2d90 /eclass | |
parent | [kde-base/kcmshell] Restore accidently dropped ~x86-fbsd keyword on KDE SC 4.4.3 (diff) | |
download | gentoo-2-c8299e1e79f9fc76f7ba6cde426cb9a59d3be10d.tar.gz gentoo-2-c8299e1e79f9fc76f7ba6cde426cb9a59d3be10d.tar.bz2 gentoo-2-c8299e1e79f9fc76f7ba6cde426cb9a59d3be10d.zip |
Fix db_src_install_usrbinslot to proper SLOT again (#318367) and add a die
Diffstat (limited to 'eclass')
-rw-r--r-- | eclass/db.eclass | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/eclass/db.eclass b/eclass/db.eclass index 8dd54cbcdeb2..f74e39cb1c52 100644 --- a/eclass/db.eclass +++ b/eclass/db.eclass @@ -1,6 +1,6 @@ # Copyright 1999-2004 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/eclass/db.eclass,v 1.35 2010/05/04 02:06:16 robbat2 Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/db.eclass,v 1.36 2010/05/04 08:03:40 tove Exp $ # This is a common location for functions used in the sys-libs/db ebuilds # # Bugs: pauldv@gentoo.org @@ -92,7 +92,8 @@ db_src_install_usrbinslot() { # slot all program names to avoid overwriting for fname in "${D}"/usr/bin/db_* do - mv "${fname}" "${fname//\/db_/\/db${SLOT}_}" + mv "${fname}" "${fname//\/db_//db${SLOT}_}" || \ + die "Failed to rename ${fname}" done } |