On Mon, Jan 20, 2003 at 08:47:07PM +0900, nobu.nokada / softhome.net wrote:
> At Mon, 20 Jan 2003 20:27:48 +0900,
> Alexander Bokovoy wrote:
> > > [ruby-dev:19370] shebang line of bin/*
> > > 
> > >   U. Nakamura proposed that an absolute path to installed ruby should be used
> > >   at a shebang line. Currently, the word `ruby' written at a shebang line of
> > >   each file in `bin' directory is replaced with ruby_install_name at installation
> > >   stage. In this proposal, the shebang line will be replaced with an absolute
> > >   path to installed ruby.
> > > 
> > >     Current --
> > >       #!/usr/bin/env ruby   --> #!/usr/bin/env ruby-1.6
> > >     Proposal --
> > >       #!/usr/bin/env ruby   --> #!/usr/local/bin/ruby-1.6
> > This might broke packaging, at least for RPM-enabled targets because
> > during RPM build a compiled binaries are installed into %buildroot/%prefix subtree
> > which is definitely not the same as where binaries will be after user
> > would install RPM package onto its system (it will be under %prefix).
> 
> Do you mean relocatable RPM packages?  If so, they can be
> substituted at %post section.  Otherwise, if you mean
> %buildroot, it won't be included of course.
Both. I as didn't see original post, from summary it is not obvious which
part of the path will be written in such cases. If %buildroot will be
omitted, that's fine.
-- 
/ Alexander Bokovoy
---
The co-locator cannot verify the frame-relay gateway to the ISDN server.