diff options
author | 2013-12-09 15:38:57 -0400 | |
---|---|---|
committer | 2013-12-09 15:38:57 -0400 | |
commit | 4272f39f126daef7621f0c922eb00084c994abc6 (patch) | |
tree | e361821e9df181fac6b9a3d74ec0430e40e18cf0 /standalone/windows/build.sh | |
parent | ce5bbf184c167aa7b7aec20cb9447263a49bc294 (diff) |
avoid using EvilLinker when regular cabal build succeeds
Diffstat (limited to 'standalone/windows/build.sh')
-rwxr-xr-x | standalone/windows/build.sh | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/standalone/windows/build.sh b/standalone/windows/build.sh index 730c99858..e6f7b7e9e 100755 --- a/standalone/windows/build.sh +++ b/standalone/windows/build.sh @@ -46,10 +46,11 @@ touch last-incremental-failed # Build git-annex withcyg cabal configure -withcyg cabal build || true -rm -f Build/EvilLinker.exe -ghc --make Build/EvilLinker -Build/EvilLinker +if ! withcyg cabal build; then + rm -f Build/EvilLinker.exe + ghc --make Build/EvilLinker + Build/EvilLinker +fi # Build the installer cabal install nsis |