I am trying to build a dynamic Java CLASSPATH by looking at all the *.jar files in a particular directory, iterate over them and appending them.  My shell command looks like this:

for JAR_FILE in $LIB_DIR/*.jar
do
    TEMPPATH=$TEMPPATH:$JAR_FILE
done

However, all I get is: /opt/application/lib/*.jar

Thoughts on what I am doing wrong?

Perry Hoekstra



_______________________________________________
TCLUG Mailing List - Minneapolis/St. Paul, Minnesota
Help beta test TCLUG's potential new home: http://plone.mn-linux.org
Got pictures for TCLUG? Beta test http://plone.mn-linux.org/gallery
tclug-list at mn-linux.org
https://mailman.real-time.com/mailman/listinfo/tclug-list