Merge pull request #74093 from eraserhd/java-classpath-fix
java classpath hook: allow unbound $CLASSPATH
This commit is contained in:
commit
aa7c021440
1 changed files with 1 additions and 1 deletions
|
@ -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 a new issue