From d74db9498732cbcfb0351f40c977e7cf4c14deb4 Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Thu, 5 Dec 2013 23:08:59 -0400 Subject: fixes --- standalone/windows/build-simple.sh | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'standalone') 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 -- cgit v1.2.3