HEX
Server: Apache
System: Linux atlantis.turkiyesunucu.com 3.10.0-1160.119.1.el7.tuxcare.els19.x86_64 #1 SMP Mon Mar 31 17:29:00 UTC 2025 x86_64
User: ()
PHP: 5.6.40
Disabled: exec,passthru,shell_exec,system
Upload Files
File: //bin/build-classpath-directory
#!/bin/sh
#
# Small script to build a classpath from a directory
#
# JPackage Project <http://www.jpackage.org/>
#
# $Id: build-classpath-directory,v 1.1 2004/12/15 16:23:45 robert Exp $

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"