On Jun 12, 2012, at 10:09 AM, Bryce L Nordgren <[email protected]> wrote:
>
>
> On Tue, Jun 12, 2012 at 10:09 AM, Lluís Batlle i Rossell <[email protected]>
> wrote:
> On Tue, Jun 12, 2012 at 11:28:48AM +0200, Ludovic Courtès wrote:
> > Hi,
> >
> > Bryce L Nordgren <[email protected]> skribis:
> >
> > > But it seems that the java-based installer hardcodes /bin/chmod instead of
> > > using $PATH. (error follows). Therefore most of the scripts are not
> > > executable.
> > >
> > > Is there a recommended workaround?
> >
> > Yes, run ‘sed’ over the source files to replace “/bin/chmod” by “chmod”.
>
> The installer is a compiled java jarfile.
Couldn't you decompile it to the JVM "assembly" or whatever it's called? If
you're lucky "/bin/chmod" will be easily replacable at that stage, then you can
recompile.
_______________________________________________
nix-dev mailing list
[email protected]
http://lists.science.uu.nl/mailman/listinfo/nix-dev