Skip to content

Commit

Permalink
Merge pull request #74093 from eraserhd/java-classpath-fix
Browse files Browse the repository at this point in the history
java classpath hook: allow unbound $CLASSPATH
  • Loading branch information
Ericson2314 authored Nov 25, 2019
2 parents 7188210 + 7a77629 commit aa7c021
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkgs/build-support/setup-hooks/set-java-classpath.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
}

Expand Down

0 comments on commit aa7c021

Please sign in to comment.