Messages in this thread | | | Subject | patch to example java wrapper | From | Robert Bihlmeyer <> | Date | 06 Jan 1998 15:29:20 +0100 |
| |
Hi,
I had to patch the java wrapper script given in Documentation/binfmt_misc.txt as follows, to make passing special characters as parameters possible (otherwise bash expands "*" et al):
Index: linux/Documentation/binfmt_misc.txt =================================================================== RCS file: /usr/src/cvs/linux/Documentation/binfmt_misc.txt,v retrieving revision 1.1.1.1 diff -c -r1.1.1.1 binfmt_misc.txt *** binfmt_misc.txt 1997/12/02 17:48:44 1.1.1.1 --- binfmt_misc.txt 1998/01/06 14:24:01 *************** *** 120,126 **** PATH=$FOO shift ! /usr/local/java/bin/java $CLASSN $@ ====================== Cut here =================== To add a Java program to your path best put a symbolic link to the main --- 120,126 ---- PATH=$FOO shift ! /usr/local/java/bin/java $CLASSN "$@" ====================== Cut here =================== To add a Java program to your path best put a symbolic link to the main
Robbe
-- Robert Bihlmeyer reads: Deutsch, English, MIME, Latin-1, NO SPAM! <robbe@orcus.priv.at> <http://stud2.tuwien.ac.at/~e9426626/sig.html>
| |