summaryrefslogtreecommitdiff
path: root/standalone/windows/build-simple.sh
diff options
context:
space:
mode:
authorGravatar Joey Hess <joey@kitenet.net>2013-12-05 23:08:59 -0400
committerGravatar Joey Hess <joey@kitenet.net>2013-12-05 23:08:59 -0400
commitd74db9498732cbcfb0351f40c977e7cf4c14deb4 (patch)
treec78df594401915d4793db8e9e1c83f3ef11fac5f /standalone/windows/build-simple.sh
parent4d0d6eb415a9f2d73e8df3d54ecde82d3c3fc0d6 (diff)
fixes
Diffstat (limited to 'standalone/windows/build-simple.sh')
-rw-r--r--standalone/windows/build-simple.sh5
1 files changed, 3 insertions, 2 deletions
diff --git a/standalone/windows/build-simple.sh b/standalone/windows/build-simple.sh
index 87515251f..cdda36feb 100644
--- a/standalone/windows/build-simple.sh
+++ b/standalone/windows/build-simple.sh
@@ -30,5 +30,6 @@ withcyg cabal build || true
# using a response file.
withcyg rm -f build.log gcc.opt
withcyg cabal build --ghc-options='-v -keep-tmp-files' > build.log 2>&1 || true
-withcyg grep '"dist\\build\\git-annex\\git-annex.exe"' build.log | withcyg sed -e 's/^"[^"]*" //' -e 's/\\/\//g' > gcc.opt
-"$HP/mingw/bin/gcc.exe" @gcc.opt
+withcyg grep 'dist\\build\\git-annex\\git-annex.exe' build.log | withcyg grep -v Linking | withcyg sed -e 's/^"[^"]*" //' -e 's/\\/\//g' > gcc.opt
+PATH="$HP/mingw/bin:$PATH"
+gcc @gcc.opt