[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: ePerl changes (was: SVN tetex-bin commit: r1159 - tetex-bin/trunk/debian)



On Mon, Apr 03, 2006 at 05:25:00PM +0200, Frank K?ster wrote:
> Hi Julian,
> 
> > Modified:
> >    tetex-bin/trunk/debian/postinst.in
> >    tetex-bin/trunk/debian/postrm.in
> >    tetex-bin/trunk/debian/preinst.in
> > Log:
> > specify included files with path, like this:
> >
> > -<:open(FUNCTIONS,'common.functions');@FUNCTIONS=<FUNCTIONS>;close(FUNCTIONS):>//
> > +<:open(FUNCTIONS,'debian/common.functions');@FUNCTIONS=<FUNCTIONS>;close(FUNCTIONS):>//
> >
> > why is this necessary?
> 
> Do you have an idea?  Could this be related to your changes to variables?

I changed the eperl invocations to use the -k switch, which means that
the working directory is consistently the directory from which eperl
is called, that is, the top of the build tree.  It saved having to
write things like:

if (-f "../changelog") { open CHANGELOG, "../changelog" }
else { open CHANGELOG, "changelog" }

So opening debian/common.functions now requires an explicit directory
relative to the top of the build tree.

I missed these occurrences in the pre/post scripts - sorry :)

   Julian



Reply to: