2014-01-06 13:42:37 +01:00
|
|
|
# This setup hook adds every JAR in the share/java subdirectories of
|
|
|
|
# the build inputs to $CLASSPATH.
|
|
|
|
|
|
|
|
export CLASSPATH
|
|
|
|
|
|
|
|
addPkgToClassPath () {
|
|
|
|
local jar
|
|
|
|
for jar in $1/share/java/*.jar; do
|
|
|
|
export CLASSPATH=''${CLASSPATH}''${CLASSPATH:+:}''${jar}
|
|
|
|
done
|
|
|
|
}
|
|
|
|
|
2017-08-11 00:22:07 +02:00
|
|
|
addEnvHooks "$targetOffset" addPkgToClassPath
|