diff --git a/scripts/install-for-ci.sh b/scripts/install-for-ci.sh index a9c8223..f6557b7 100644 --- a/scripts/install-for-ci.sh +++ b/scripts/install-for-ci.sh @@ -113,11 +113,9 @@ fi install_roswell_bin () { if uname -s | grep -e MSYS_NT >/dev/null; then if [ $ROSWELL_BRANCH = release ]; then - curl -L https://github.com/roswell/roswell/releases/download/v$ROSWELL_RELEASE_VERSION/roswell_$(ROSWELL_RELEASE_VERSION)_amd64.zip \ - --output /tmp/roswell.zip + fetch "https://github.com/roswell/roswell/releases/download/v$ROSWELL_RELEASE_VERSION/roswell_${ROSWELL_RELEASE_VERSION}_amd64.zip" /tmp/roswell.zip else - curl -L "https://ci.appveyor.com/api/projects/snmsts/roswell-en89n/artifacts/Roswell-x86_64.zip?branch=master&job=Environment%3A%20MSYS2_ARCH%3Dx86_64,%20MSYS2_BITS%3D64,%20MSYSTEM%3DMINGW64,%20METHOD%3Dcross" \ - --output /tmp/roswell.zip + fetch "https://ci.appveyor.com/api/projects/snmsts/roswell-en89n/artifacts/Roswell-x86_64.zip?branch=master&job=Environment%3A%20MSYS2_ARCH%3Dx86_64,%20MSYS2_BITS%3D64,%20MSYSTEM%3DMINGW64,%20METHOD%3Dcross" /tmp/roswell.zip fi unzip /tmp/roswell.zip -d /tmp/ >/dev/null mkdir -p $ROSWELL_INSTALL_DIR/bin