Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 129515 | Differences between
and this patch

Collapse All | Expand All

(-)/usr/sbin/etc-update.orig (-1 / +1 lines)
Lines 44-50 Link Here
44
		[ ! -d ${path} ] && continue
44
		[ ! -d ${path} ] && continue
45
45
46
		ofile=""
46
		ofile=""
47
		for file in `find ${path}/ -iname "._cfg????_*" |
47
		for file in `find -L ${path}/ -iname "._cfg????_*" -exec readlink -q -f '{}' ';' | uniq |
48
			   sed -e "s:\(^.*/\)\(\._cfg[0-9]*_\)\(.*$\):\1\2\3\%\2\%\3:" |
48
			   sed -e "s:\(^.*/\)\(\._cfg[0-9]*_\)\(.*$\):\1\2\3\%\2\%\3:" |
49
			   sort -t'%' -k3 -k2 | LANG=POSIX LC_ALL=POSIX cut -f1 -d'%'`; do
49
			   sort -t'%' -k3 -k2 | LANG=POSIX LC_ALL=POSIX cut -f1 -d'%'`; do
50
			rpath=`echo "${file/\/\///}" | sed -e "s:/[^/]*$::"`
50
			rpath=`echo "${file/\/\///}" | sed -e "s:/[^/]*$::"`

Return to bug 129515