Bug#274484: The shell script /usr/bin/bsh should work as a script interpreter.
Michael Koch
konqueror at gmx.de
Tue Jun 26 08:45:45 UTC 2007
On Fri, Oct 01, 2004 at 11:14:07PM -0400, Adam Sherman wrote:
> Package: bsh
> Version: 1.3.0-2
> Severity: wishlist
>
> It would be great if the shell script at /usr/bin/bsh would work when used as the bang-path in a
> script:
>
> #!/usr/bin/bsh
> print("Hello, World!");
>
> At the moment, bash seems to try and interpret the file for an unknown reason.
Currently /usr/bin/bsh is a shell script. The kernel uses the sh (bash)
as interpreter for bsh script for security reasons. This cant be
circumvented. To make this work we need to write a native application
starting the java runtime. This is a bigger task. Perhaps we can reuse
one of the launchers from openjdk or harmony.
Cheers,
Michael
--
.''`. | Michael Koch <konqueror at gmx.de>
: :' : | Free Java Developer <http://www.classpath.org>
`. `' |
`- | 1024D/BAC5 4B28 D436 95E6 F2E0 BD11 5923 A008 2763 483B
More information about the pkg-java-maintainers
mailing list