X-Git-Url: https://git.martlubbers.net/?a=blobdiff_plain;f=clean%2F.local%2Fbin%2Finstall_clean.sh;h=7b4617e45e26104b03017fb72d02b32cf1f27cb8;hb=b0f816d157b400b7b3a7b93a7ce71f57b483d7a5;hp=e5ee3f1ec06eaff2e07ed878b2853269e6c7233b;hpb=dbe697799605c94802426a3c5045537a1b41c2b6;p=dotfiles.git diff --git a/clean/.local/bin/install_clean.sh b/clean/.local/bin/install_clean.sh index e5ee3f1..7b4617e 100755 --- a/clean/.local/bin/install_clean.sh +++ b/clean/.local/bin/install_clean.sh @@ -3,12 +3,19 @@ set -e DISTRO="https://ftp.cs.ru.nl/Clean/builds/linux-x64/clean-bundle-complete-linux-x64-latest.tgz" TAGS="https://gitlab.science.ru.nl/cloogle/cloogle-tags/-/jobs/artifacts/master/raw/cloogletags?job=build" +CLM="https://gitlab.science.ru.nl/mlubbers/clm/builds/artifacts/master/raw/clm?job=compile" +CLM1="https://gitlab.science.ru.nl/mlubbers/clm/builds/artifacts/master/raw/clm.1?job=compile" CLEAN_HOME="${CLEAN_HOME:-/opt/clean}" echo "Cleaning up the old distro" rm -rf "$CLEAN_HOME"/* echo "Downloading clean" -curl -sS "$DISTRO" | tar -C "$CLEAN_HOME" --strip-components=1 -xz +curl -sSL "$DISTRO" | tar -C "$CLEAN_HOME" --strip-components=1 -xz +echo "Replacing clm" +curl -sSLo "$CLEAN_HOME/bin/clm" "$CLM" +echo "Installing manpages" +mkdir -p ~/.local/man/man1 +curl -sSLo ~/.local/man/man1/clm.1 "$CLM1" echo "Downloading cloogletags" curl -sSLo "$CLEAN_HOME"/bin/cloogletags "$TAGS" chmod +x "$CLEAN_HOME"/bin/cloogletags @@ -68,53 +75,51 @@ patch /opt/clean/lib/StdEnv/StdGeneric.icl <