2014-01-06 12:42:37 +00: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
|
2019-11-25 04:30:03 +00:00
|
|
|
export CLASSPATH=''${CLASSPATH-}''${CLASSPATH:+:}''${jar}
|
2014-01-06 12:42:37 +00:00
|
|
|
done
|
|
|
|
}
|
|
|
|
|
2017-08-10 23:22:07 +01:00
|
|
|
addEnvHooks "$targetOffset" addPkgToClassPath
|