From 5c453e215d87c3ff38c472ac31bdeecbb8462b63 Mon Sep 17 00:00:00 2001 From: Tony Kelman Date: Thu, 14 Jul 2016 02:48:33 -0400 Subject: [PATCH] don't download busybox-w32 every time use the cached copy on appveyor if present --- contrib/windows/msys_build.sh | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/contrib/windows/msys_build.sh b/contrib/windows/msys_build.sh index 369bb793be3eb..41258a21f414d 100755 --- a/contrib/windows/msys_build.sh +++ b/contrib/windows/msys_build.sh @@ -156,9 +156,11 @@ if [ -z "`which make 2>/dev/null`" ]; then export PATH=$PWD/bin:$PATH fi -f=busybox-w32-FRP-483-g31277ab.exe -echo "Downloading $f" -$curlflags -o usr/bin/busybox.exe http://frippery.org/files/busybox/$f +if ! [ -e usr/bin/busybox.exe ]; then + f=busybox-w32-FRP-483-g31277ab.exe + echo "Downloading $f" + $curlflags -o usr/bin/busybox.exe http://frippery.org/files/busybox/$f +fi for lib in SUITESPARSE ARPACK BLAS LAPACK FFTW \ GMP MPFR PCRE LIBUNWIND OPENSPECFUN; do