From 551069dfdbf3d29b598d8712bdfcf140be90cefa Mon Sep 17 00:00:00 2001 From: Michael Snoyman Date: Sat, 4 Apr 2020 21:55:31 +0300 Subject: [PATCH] Follow redirects --- automated/build.sh | 4 ++-- etc/check.sh | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/automated/build.sh b/automated/build.sh index 5815fe4f..ae7e515f 100755 --- a/automated/build.sh +++ b/automated/build.sh @@ -63,12 +63,12 @@ BINDIR=$(cd $ROOT/work/bin ; pwd) cd $BINDIR rm -f curator stack *.bz2 -curl "https://download.fpcomplete.com/stackage-curator-2/curator-85b021a53833ff310fc66b3fdc5ca3f7828ce18b.bz2" | bunzip2 > curator +curl -L "https://download.fpcomplete.com/stackage-curator-2/curator-85b021a53833ff310fc66b3fdc5ca3f7828ce18b.bz2" | bunzip2 > curator chmod +x curator echo -n "curator version: " docker run --rm -v $(pwd)/curator:/exe $IMAGE /exe --version -curl "https://download.fpcomplete.com/stackage-curator-2/stack-4033c93815477e5b565d9a2a61b54e04da0863ef.bz2" | bunzip2 > stack +curl -L "https://download.fpcomplete.com/stackage-curator-2/stack-4033c93815477e5b565d9a2a61b54e04da0863ef.bz2" | bunzip2 > stack chmod +x stack echo -n "stack version: " docker run --rm -v $(pwd)/stack:/exe $IMAGE /exe --version diff --git a/etc/check.sh b/etc/check.sh index 78a5345f..d571a9c1 100755 --- a/etc/check.sh +++ b/etc/check.sh @@ -11,7 +11,7 @@ export PATH=$HOME/.local/bin:$PATH curl -L https://www.stackage.org/stack/linux-x86_64 | tar xz --wildcards --strip-components=1 -C ~/.local/bin '*/stack' # Get new Stackage curator -curl "https://download.fpcomplete.com/stackage-curator-2/curator-85b021a53833ff310fc66b3fdc5ca3f7828ce18b.bz2" | bunzip2 > curator +curl -L "https://download.fpcomplete.com/stackage-curator-2/curator-85b021a53833ff310fc66b3fdc5ca3f7828ce18b.bz2" | bunzip2 > curator chmod +x curator # Install GHC