Paolo Bonzini wrote:
> Is the attached patch okay?  It is needed to make sure the files are 
> created as executable.

You cannot assume that "chmod +x" works. There are situations where it
doesn't, such as:
  - VFAT filesystems under MacOS X,
  - some configurations of permissions on Windows XP disks (too complicated
    to explain - but it happens even to normal users).

Therefore it's more reliable if you invoke the scripts always with /bin/sh
in your Makefiles:

  /bin/sh javaexec.sh ...

And then there is no point in doing "chmod +x".

Bruno


Reply via email to