diff options
-rwxr-xr-x | standalone/windows/build.sh | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/standalone/windows/build.sh b/standalone/windows/build.sh index 01d53fc46..e63fe11e1 100755 --- a/standalone/windows/build.sh +++ b/standalone/windows/build.sh @@ -40,8 +40,10 @@ rm -f git-annex-installer.exe cabal update || true # workaround strange cabal install bug for xss-sanitize -git clone https://github.com/yesodweb/haskell-xss-sanitize xss-sanitize -(cd xss-sanitize && cabal install) +if [ ! -d xss-sanitize ]; then + git clone https://github.com/yesodweb/haskell-xss-sanitize xss-sanitize + (cd xss-sanitize && cabal install) +fi cabal install --only-dependencies \ --constraint='persistent-sqlite ==2.2' \ |