lkml.org 
[lkml]   [1998]   [Jan]   [7]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Subjectpatch to example java wrapper
From
Date
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>
\
 
 \ /
  Last update: 2005-03-22 13:41    [W:0.026 / U:0.632 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site