mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-23 22:20:51 +00:00
java classpath hook: allow unbound $CLASSPATH
This commit is contained in:
parent
6e38def213
commit
7a77629490
|
@ -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