summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOlly Betts <olly@survex.com>2023-04-20 09:33:26 +1200
committerOlly Betts <olly@survex.com>2023-04-20 09:33:26 +1200
commitc60797e684828556f279eeec295a0b1cb50db832 (patch)
tree343e08bac246d4b68e9000d15e2b74e3974fe3ba
parent88b3970ec8e901a9390b506cea7941c3f1dba0b7 (diff)
downloadswig-c60797e684828556f279eeec295a0b1cb50db832.tar.gz
[ci] Fix scilab 2023.0.0 download URL
-rw-r--r--Tools/CI-linux-install.sh6
1 files changed, 3 insertions, 3 deletions
diff --git a/Tools/CI-linux-install.sh b/Tools/CI-linux-install.sh
index 5352eb3fa..1fe88d521 100644
--- a/Tools/CI-linux-install.sh
+++ b/Tools/CI-linux-install.sh
@@ -152,15 +152,15 @@ case "$SWIGLANG" in
if [[ -z "$VER" ]]; then
$RETRY sudo apt-get -qq install scilab
else
- # Download was .gz but switched to .xz for version 2023.0.0.
+ # Starting with version 2023.0.0 the download filename format changed.
case $VER in
- 20*) scilab_tarball=scilab-$VER.bin.linux-x86_64.tar.xz ;;
+ 20*) scilab_tarball=scilab-$VER.bin.x86_64-pc-linux-gnu.tar.xz ;;
*) scilab_tarball=scilab-$VER.bin.linux-x86_64.tar.gz ;;
esac
$RETRY wget --progress=dot:giga "https://www.scilab.org/download/$VER/$scilab_tarball"
# $HOME/.local/bin is in PATH and writeable
mkdir -p "$HOME/.local"
- tar -xzf "$scilab_tarball" --strip-components=1 -C "$HOME/.local"
+ tar -xf "$scilab_tarball" --strip-components=1 -C "$HOME/.local"
fi
;;
"tcl")