diff options
author | Olly Betts <olly@survex.com> | 2023-04-20 09:33:26 +1200 |
---|---|---|
committer | Olly Betts <olly@survex.com> | 2023-04-20 09:33:26 +1200 |
commit | c60797e684828556f279eeec295a0b1cb50db832 (patch) | |
tree | 343e08bac246d4b68e9000d15e2b74e3974fe3ba | |
parent | 88b3970ec8e901a9390b506cea7941c3f1dba0b7 (diff) | |
download | swig-c60797e684828556f279eeec295a0b1cb50db832.tar.gz |
[ci] Fix scilab 2023.0.0 download URL
-rw-r--r-- | Tools/CI-linux-install.sh | 6 |
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") |