Merge pull request #74093 from eraserhd/java-classpath-fix
java classpath hook: allow unbound $CLASSPATH
This commit is contained in:
commit
aa7c021440
@ -6,7 +6,7 @@ export CLASSPATH
|
||||
addPkgToClassPath () {
|
||||
local jar
|
||||
for jar in $1/share/java/*.jar; do
|
||||
export CLASSPATH=''${CLASSPATH}''${CLASSPATH:+:}''${jar}
|
||||
export CLASSPATH=''${CLASSPATH-}''${CLASSPATH:+:}''${jar}
|
||||
done
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user