DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUGĀ·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=42616>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED ANDĀ·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=42616





------- Additional Comments From [EMAIL PROTECTED]  2007-10-30 22:05 -------
I forgot that everything in the line would be assigned to the variable, and I
forgot that the pipeline would be executed in a subshell.

So how about

JARPATH=$(SEP="";find ${FOP}/lib -name '*.jar'|\
while read jarfile;do echo -n $SEP"$jarfile"; SEP=${pathSepChar}; done)

if [ -z "$LOCALCLASSPATH" ] ; then
    LOCALCLASSPATH="$JARPATH"
else
    LOCALCLASSPATH="$JARPATH"${pathSepChar}$LOCALCLASSPATH
fi


-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

Reply via email to