/hg/icedtea-web: Use bash as shebang in javaws.in.

Jiri Vanek jvanek at redhat.com
Wed May 15 03:04:35 PDT 2013


On 05/14/2013 07:34 PM, adomurad at icedtea.classpath.org wrote:
> changeset 2041db60cd4b in /hg/icedtea-web
> details: http://icedtea.classpath.org/hg/icedtea-web?cmd=changeset;node=2041db60cd4b
> author: Matthias Klose <doko at ubuntu.com>
> date: Tue May 14 13:28:09 2013 -0400
>
> 	Use bash as shebang in javaws.in.
>
>
> diffstat:
>
>   ChangeLog          |  4 ++++
>   launcher/javaws.in |  2 +-
>   2 files changed, 5 insertions(+), 1 deletions(-)
>
> diffs (20 lines):
>
> diff -r c2bfa83611c1 -r 2041db60cd4b ChangeLog
> --- a/ChangeLog	Tue May 14 12:34:44 2013 +0200
> +++ b/ChangeLog	Tue May 14 13:28:09 2013 -0400
> @@ -1,3 +1,7 @@
> +2013-05-14  Matthias Klose  <doko at ubuntu.com>
> +
> +	* launcher/javaws.in: Use bash as shebang.
> +
>   2013-05-14  Jiri Vanek  <jvanek at redhat.com>
>               Jacob Wisor  <gitne at excite.co.jp>
>
> diff -r c2bfa83611c1 -r 2041db60cd4b launcher/javaws.in
> --- a/launcher/javaws.in	Tue May 14 12:34:44 2013 +0200
> +++ b/launcher/javaws.in	Tue May 14 13:28:09 2013 -0400
> @@ -1,4 +1,4 @@
> -#!/bin/sh
> +#!/bin/bash
>
>   JAVA=@JAVA@
>   LAUNCHER_BOOTCLASSPATH=@LAUNCHER_BOOTCLASSPATH@
>
After speaking with Doko and Pavel - reverting from head. As true solution is to get rid of bashism 
in scripts. Pavel promissed to look at it.

For 1.4 would be nice to add configure check fo bash but.. . well We can believe bash will be on 
most of the systems...

J.



More information about the distro-pkg-dev mailing list