Compile script now follows symlinks when searching for svm.jar (#512)

Fixes #511
This commit is contained in:
Lee Read 2020-07-16 03:40:34 -04:00 committed by GitHub
parent 8bdceada9b
commit 7b5e09e4e8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -24,7 +24,7 @@ fi
export JAVA_HOME=$GRAALVM_HOME
export PATH=$GRAALVM_HOME/bin:$PATH
SVM_JAR=$(find "$GRAALVM_HOME" | grep svm.jar)
SVM_JAR=$(find -L "$GRAALVM_HOME" | grep svm.jar)
"$GRAALVM_HOME/bin/javac" -cp "$SVM_JAR" resources/CutOffCoreServicesDependencies.java
if [ -z "$BABASHKA_JAR" ]; then