[oe] [meta-java][PATCH 3/3] jamvm/java: allow spaces in arguments
Riku Voipio
riku.voipio at linaro.org
Tue Oct 1 07:44:56 UTC 2013
On 30 September 2013 22:30, Henning Heinold <heinold at inf.fu-berlin.de> wrote:
> On Mon, Sep 30, 2013 at 03:58:38PM +0200, Eric Bénard wrote:
>> Hi Riku,
>>
>> Le Mon, 30 Sep 2013 16:46:11 +0300,
>> Riku Voipio <riku.voipio at linaro.org> a écrit :
>>
>> > Current IFS mangling blows up on the face:
>> >
>> > | configure:2341: javac -classpath .: Test.java
>> > | Invalid maximum heap size: -Xmx1024m-cp/srv/oe/b
>> >
>
> Which shell blows it up? With dash on ubuntu its working fine.
I'm using bash (oe handbook tells to switch /bin/sh from dash to bash.
$ cat test.sh
#!/bin/sh
IFS=""
exec echo jamvm ${1+"$@"}
$ dash test.sh foo bar bar bar
jamvm foo bar bar bar
$ bash test.sh foo bar bar bar
jamvm foobarbarbar
$ vi test.sh
While the simpler version:
$ cat test.sh
#!/bin/sh
exec echo jamvm "$@"
$ dash test.sh foo bar bar bar
jamvm foo bar bar bar
$ bash test.sh foo bar bar bar
jamvm foo bar bar bar
seems to run fine (echo added in both for clarity)
Riku
More information about the Openembedded-devel
mailing list