OSX package script: cabal init before update.

This commit is contained in:
John MacFarlane 2014-05-07 20:12:46 -07:00
parent 249c3e8c5a
commit 8afbd7e664

View file

@ -20,11 +20,11 @@ echo Removing old files...
rm -rf $DIST
mkdir -p $RESOURCES
cabal sandbox init
echo Updating database
cabal update
echo Building pandoc...
cabal sandbox init
cabal clean
# Use cpphs to avoid problems with clang cpp on ghc 7.8 osx:
cabal install cpphs alex happy hsb2hs