Do force reinstalls when installing sdist
This commit is contained in:
parent
47614e0834
commit
011914591b
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||||
|
|
Loading…
Reference in a new issue