Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 118445
Collapse All | Expand All

(-)module-rebuild.orig (-1 / +1 lines)
Lines 157-163 Link Here
157
	# Lets find them all
157
	# Lets find them all
158
	# chances are we will get a few dupes in here.
158
	# chances are we will get a few dupes in here.
159
	version=`uname -r`
159
	version=`uname -r`
160
	for pkg in `grep -i /lib/modules/${version}/.*o ${R_VDBPATH}/*/*/CONTENTS`; do
160
	for pkg in `find ${R_VDBPATH} -name CONTENTS -type f   -print0 | xargs -0 /bin/grep -i /lib/modules/${version}/.*o`; do
161
		pad=""; x=0;
161
		pad=""; x=0;
162
		
162
		
163
		if [[ -z ${pkg//${R_VDBPATH}*} ]]; then
163
		if [[ -z ${pkg//${R_VDBPATH}*} ]]; then

Return to bug 118445