summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCaleb Tennis <caleb@gentoo.org>2003-05-05 14:47:12 +0000
committerCaleb Tennis <caleb@gentoo.org>2003-05-05 14:47:12 +0000
commit5c8ddc7e6bc47b95004c6a8eab03bd333cca4d10 (patch)
treeee3262bec7c0807735643639b42cec992a9fe95d /dev-db/mysql/files
parentVersion bump, keeping in ~86. (diff)
downloadhistorical-5c8ddc7e6bc47b95004c6a8eab03bd333cca4d10.tar.gz
historical-5c8ddc7e6bc47b95004c6a8eab03bd333cca4d10.tar.bz2
historical-5c8ddc7e6bc47b95004c6a8eab03bd333cca4d10.zip
Fix bug #18605 and #18937 by making minor modifications to rebuilder.sh
Diffstat (limited to 'dev-db/mysql/files')
-rw-r--r--dev-db/mysql/files/rebuilder.sh8
1 files changed, 7 insertions, 1 deletions
diff --git a/dev-db/mysql/files/rebuilder.sh b/dev-db/mysql/files/rebuilder.sh
index 8d85f602a8dc..9afadcd4a0ca 100644
--- a/dev-db/mysql/files/rebuilder.sh
+++ b/dev-db/mysql/files/rebuilder.sh
@@ -1,5 +1,10 @@
#!/bin/sh
+if [ ! -e /usr/bin/qpkg ]; then
+ echo "Please emerge gentoolkit before using this script."
+ exit 1
+fi
+
LINKED_WITH=libmysqlclient
rm -f /tmp/${LINKED_WITH}.*
@@ -12,7 +17,8 @@ echo "This might take a while ..."
-or -regex './usr/bin.*' \
-or -regex './usr/sbin.*' \
-or -regex './usr/lib.*' \
- -or -regex './usr/kde.*'`
+ -or -regex './usr/kde.*' \
+ -or -regex './usr/qt.*'`
do
[ -x $i -a -f $i ] && {
ldd $i 2>/dev/null | grep ${LINKED_WITH} >/dev/null 2>&1