Gentoo Archives: gentoo-osx

From: Christopher Chan <cchan@×××××××××××.com>
To: gentoo-osx@l.g.o
Subject: [gentoo-osx] [PREFIX] config protect behavior in prefix
Date: Thu, 18 May 2006 23:08:06
Also, I discovered that 'etc-update' does not pre-pend EPREFIX when 
resolving CONFIG_PROTECT directories.

In etc-update, in the scan() function, the following line should prepend 
if portage does the same.

        for path in ${CONFIG_PROTECT} ; do
                ## EPREFIX + path here
                [ ! -d ${path} ] && continue
                for file in `find ${path}/ -iname "._cfg????_*" |
                           sed -e 
"s:\(^.*/\)\(\._cfg[0-9]*_\)\(.*$\):\1\2\3\%\\2\%\3:" |
                           sort -t'%' -k3 -k2 | LANG=POSIX LC_ALL=POSIX 
cut -f1\ -d'%'`; do

gentoo-osx@g.o mailing list