On 11:11 Sat 13 Oct , Torsten Veller wrote:
> * Donnie Berkholz <[EMAIL PROTECTED]>:
> > On 10:44 Sat 13 Oct , Torsten Veller wrote:
> > > * Donnie Berkholz <[EMAIL PROTECTED]>:
> > > > python_mod_optimize() and python_mod_cleanup() already tag ROOT on,
> > >
> > > python_mod_optimize() does not.
> >
> > Mine does:
> >
> > python_mod_optimize() {
> > local myroot
> > # strip trailing slash
> > myroot="${ROOT%/}"
> >
> > ...
> >
> > ebegin "Byte compiling python modules for python-${PYVER} .."
> python${PYVER} ${myroot}/usr/$(get_libdir)/python${PYVER}/compileall.py
> ${compileopts} $@
> python${PYVER} -O
> ${myroot}/usr/$(get_libdir)/python${PYVER}/compileall.py ${compileopts} $@
> > eend $?
> > }
>
> No. The arguments of python_mod_optimize are just passed to the ROOTed
> compileall.py.
It took me about five minutes to figure out what you meant: this means
that the filenames do not get passed with ROOT prepended to them, so
compileall.py in ROOT compiles the files outside of ROOT.
Thanks,
Donnie
--
[EMAIL PROTECTED] mailing list