summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCarsten Lohrke <carlo@gentoo.org>2005-12-17 01:51:01 +0000
committerCarsten Lohrke <carlo@gentoo.org>2005-12-17 01:51:01 +0000
commit571d3a4c4bd3a43661ec99408ffd0a45b4ce1915 (patch)
tree2c2409f22653fd7a9dac1bd54f428db5482e218e
parentnet-im/sim masked (diff)
downloadgentoo-2-571d3a4c4bd3a43661ec99408ffd0a45b4ce1915.tar.gz
gentoo-2-571d3a4c4bd3a43661ec99408ffd0a45b4ce1915.tar.bz2
gentoo-2-571d3a4c4bd3a43661ec99408ffd0a45b4ce1915.zip
slot_rebuild() fix
-rw-r--r--eclass/kde.eclass6
1 files changed, 3 insertions, 3 deletions
diff --git a/eclass/kde.eclass b/eclass/kde.eclass
index 595dc89784a2..6e96a6ab08b8 100644
--- a/eclass/kde.eclass
+++ b/eclass/kde.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/kde.eclass,v 1.139 2005/11/16 12:50:02 flameeyes Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/kde.eclass,v 1.140 2005/12/17 01:51:01 carlo Exp $
#
# Author Dan Armak <danarmak@gentoo.org>
#
@@ -233,7 +233,7 @@ slot_rebuild() {
continue
fi
- k="$(grep -o /.*/lib.*\.la ${j}/CONTENTS)"
+ k="$(grep -o "/.*/lib.*\.la" ${j}/CONTENTS)"
m=""
for l in ${k} ; do [[ -e ${l} ]] && m="${m} ${l}"; done
l="$(echo ${k} ${m} | fmt -w 1 | sort | uniq -u)"
@@ -251,7 +251,7 @@ slot_rebuild() {
echo
if [[ -n "${BROKEN_PKGS}" ]] ; then
eerror "Anomalies were found. Please do \"emerge ${BROKEN_PKGS}\"."
- return 1
+ return 0
fi