Mini Shell

Direktori : /usr/bin/
Upload File :
Current File : //usr/bin/build-classpath-directory

#!/bin/bash
#
# Small script to build a classpath from a directory
#
# JPackage Project <http://www.jpackage.org/>
#

for i in "$@"; do
    _JARS=$(find "$i" -name "*.jar" -xtype f -printf %p: 2>/dev/null)
    _CLASSPATH=$_CLASSPATH$_JARS
done

_CLASSPATH="$(echo $_CLASSPATH | sed 's+:$++g')"
echo "$_CLASSPATH"

Zerion Mini Shell 1.0