From 9079178f532969e1e2a5e1654ea663cb73f84317 Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Sun, 19 May 2013 21:02:50 -0400 Subject: stupid windows.. --- standalone/windows/build.sh | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) (limited to 'standalone') diff --git a/standalone/windows/build.sh b/standalone/windows/build.sh index 36ececfdb..c63fa8b17 100644 --- a/standalone/windows/build.sh +++ b/standalone/windows/build.sh @@ -35,8 +35,13 @@ cd .. cabal install --only-dependencies -f"$FLAGS" -if ! -e last-incremental-failed; then - cabal clean +# Detect when the last build was an incremental build and failed, +# and try a full build. Done this way because this shell seems a bit +# broken. +if [ -e last-incremental-failed ]; then + cabal clean || true + # windows breakage.. + rm -rf dist fi touch last-incremental-failed -- cgit v1.2.3