summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWilliam S Fulton <wsf@fultondesigns.co.uk>2021-11-15 23:24:07 +0000
committerWilliam S Fulton <wsf@fultondesigns.co.uk>2021-11-16 19:48:22 +0000
commit9f5ad6debd26e05ee26c50a5d6db15e87e861c5b (patch)
treedbac66d671d07db169f8507a58f1a011ef2fcce5
parent2582e3fc7535060926443fa60c39017ed42486d6 (diff)
downloadswig-9f5ad6debd26e05ee26c50a5d6db15e87e861c5b.tar.gz
Scilab JAVA_HOME environment fix
This might be needed on Github Actions as well as Travis??
-rw-r--r--Tools/CI-linux-environment.sh6
1 files changed, 6 insertions, 0 deletions
diff --git a/Tools/CI-linux-environment.sh b/Tools/CI-linux-environment.sh
index e854c5b0e..0e9526dcf 100644
--- a/Tools/CI-linux-environment.sh
+++ b/Tools/CI-linux-environment.sh
@@ -29,5 +29,11 @@ case "$SWIGLANG" in
set -x
fi
;;
+ "scilab")
+ # Travis has the wrong version of Java pre-installed resulting in error using scilab:
+ # /usr/bin/scilab-bin: error while loading shared libraries: libjava.so: cannot open shared object file: No such file or directory
+ echo "JAVA_HOME was set to $JAVA_HOME"
+ unset JAVA_HOME
+ ;;
*) ;;
esac