avoid cloning xss-sanitize when clone already exists
This commit is contained in:
parent
c8cc32335f
commit
19f0f42cf3
1 changed files with 4 additions and 2 deletions
|
@ -40,8 +40,10 @@ rm -f git-annex-installer.exe
|
||||||
cabal update || true
|
cabal update || true
|
||||||
|
|
||||||
# workaround strange cabal install bug for xss-sanitize
|
# workaround strange cabal install bug for xss-sanitize
|
||||||
|
if [ ! -d xss-sanitize ]; then
|
||||||
git clone https://github.com/yesodweb/haskell-xss-sanitize xss-sanitize
|
git clone https://github.com/yesodweb/haskell-xss-sanitize xss-sanitize
|
||||||
(cd xss-sanitize && cabal install)
|
(cd xss-sanitize && cabal install)
|
||||||
|
fi
|
||||||
|
|
||||||
cabal install --only-dependencies \
|
cabal install --only-dependencies \
|
||||||
--constraint='persistent-sqlite ==2.2' \
|
--constraint='persistent-sqlite ==2.2' \
|
||||||
|
|
Loading…
Add table
Reference in a new issue