On 04-10-2006 11:11:13 +0200, Michael Haubenwallner wrote:
> > > tmpstr="$(${python} -V 2>&1 )"
> > > export PYVER_ALL="${tmpstr#Python }"
> > > __python_version_extract $PYVER_ALL
> > > @@ -217,11 +217,11 @@
> > >
> > > for path in ${SEARCH_PATH}; do
> > > einfo "Cleaning orphaned Python bytecode from ${path} .."
> > > - for obj in $(find ${path} -name *.pyc); do
> > > - src_py="${obj%c}"
> > > + for obj in $(find ${path} -name *.py[co]); do
> > > + src_py="${obj%[co]}"
> > > if [ ! -f "${src_py}" ]; then
> > > - einfo "Purging ${src_py}[co]"
> > > - rm -f ${src_py}[co]
> > > + einfo "Purging ${obj}"
> > > + rm -f ${obj}
> >
> > this hunk looks like a behavioural change to me, not prefix specific.
>
> You're right, this is a bugfix not specific to prefix.
I made a bug for it. http://bugs.gentoo.org/show_bug.cgi?id=150416
> > > @@ -72,8 +72,8 @@
> > > # usage: alternatives_makesym <resulting symlink> [alternative
> > > targets..]
> > > # make sure it is in the prefix, allow it already to be in the prefix
> > > SYMLINK=${EPREFIX}/${1#${EPREFIX}}
> > > - # this trick removes the trailing / from ${ROOT}
> > > - pref=$(echo ${ROOT} | sed 's:/$::')
> > > + # this trick removes the trailing ${EPREFIX}/ from ${ROOT}
> > > + pref=${ROOT%/}; pref=${ROOT%${EPREFIX}}
> >
> > Is there ever a trailing EPREFIX? I'd say only a leading EPREFIX.
After our recent discussions: committed
--
Fabian Groffen
Gentoo on a different level
--
[EMAIL PROTECTED] mailing list