the bishop ([EMAIL PROTECTED]) wrote: > - changed remaining #!/bin/bash to #!/bin/sh
> +# if Kaffe set -mx (maximum memory) option to 256MB > +if java -help 2>&1 | grep "kaffe" >/dev/null ; > +then > + JAVA_ARGS="-mx $((256*1024*1024))" > fi That $(()) thing is not standard /bin/sh syntax. You need to use this for full vanilla Bourne shell compatibility: JAVA_ARGS="-mx `expr 256 \* 1024 \* 1024`" -- Greg Wooledge | "Truth belongs to everybody." [EMAIL PROTECTED] | - The Red Hot Chili Peppers http://wooledge.org/~greg/ |
msg01285/pgp00000.pgp
Description: PGP signature
