From 4038e562e8cdab39cb008fa3fb61848c60424023 Mon Sep 17 00:00:00 2001 From: Stephane Bortzmeyer Date: Thu, 9 Nov 2000 16:27:52 +0000 Subject: examples/ directory --- examples/classpath-from-jars-1 | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 examples/classpath-from-jars-1 (limited to 'examples/classpath-from-jars-1') diff --git a/examples/classpath-from-jars-1 b/examples/classpath-from-jars-1 new file mode 100644 index 0000000..bea5802 --- /dev/null +++ b/examples/classpath-from-jars-1 @@ -0,0 +1,12 @@ +# No shebang here: you have to source this file or to include +# it into a shell startup file, since it changes the environment. +# Bourne shell syntax. + +# From: Aaron Brashears + +for jar in /usr/share/java/*.jar ; do + CLASSPATH=${CLASSPATH}:$jar +done + + + -- cgit v1.2.3