1
0
Fork 1
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:
Jason Felice 2019-11-24 23:30:03 -05:00
parent 6e38def213
commit 7a77629490

View file

@ -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
}