Do force reinstalls when installing sdist

This commit is contained in:
Victor Denisov 2015-12-22 08:32:19 -08:00
parent 47614e0834
commit 011914591b

View file

@ -46,7 +46,7 @@ script:
- export SRC_TGZ=$(cabal info . | awk '{print $2 ".tar.gz";exit}'); - export SRC_TGZ=$(cabal info . | awk '{print $2 ".tar.gz";exit}');
cd dist/; cd dist/;
if [ -f "$SRC_TGZ" ]; then if [ -f "$SRC_TGZ" ]; then
cabal install "$SRC_TGZ"; cabal install --force-reinstalls "$SRC_TGZ";
else else
echo "expected '$SRC_TGZ' not found"; echo "expected '$SRC_TGZ' not found";
exit 1; exit 1;