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
Message-Id: 446CFDBC.4080906@spikesource.com
1 Also, I discovered that 'etc-update' does not pre-pend EPREFIX when
2 resolving CONFIG_PROTECT directories.
3
4 In etc-update, in the scan() function, the following line should prepend
5 if portage does the same.
6
7 for path in ${CONFIG_PROTECT} ; do
8 ## EPREFIX + path here
9 [ ! -d ${path} ] && continue
10 ofile=""
11 for file in `find ${path}/ -iname "._cfg????_*" |
12 sed -e
13 "s:\(^.*/\)\(\._cfg[0-9]*_\)\(.*$\):\1\2\3\%\\2\%\3:" |
14 sort -t'%' -k3 -k2 | LANG=POSIX LC_ALL=POSIX
15 cut -f1\ -d'%'`; do
16
17 --
18 gentoo-osx@g.o mailing list