From f6277106dda60b77c7fc2423b2e2f1a87d4d5d72 Mon Sep 17 00:00:00 2001 From: Michael Snoyman Date: Wed, 25 May 2016 12:10:16 +0300 Subject: [PATCH] Fix for Travis megarepo builds --- doc/GUIDE.md | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/doc/GUIDE.md b/doc/GUIDE.md index fbc1fb79c9..6c297ca754 100644 --- a/doc/GUIDE.md +++ b/doc/GUIDE.md @@ -2017,8 +2017,13 @@ script: cd $dir cabal check || [ "$CABALVER" == "1.16" ] cabal sdist - SRC_TGZ=$(cabal info . | awk '{print $2;exit}').tar.gz && \ - (cd dist && cabal install --force-reinstalls "$SRC_TGZ") + PKGVER=$(cabal info . | awk '{print $2;exit}') + SRC_TGZ=$PKGVER.tar.gz + cd dist + tar zxfv "$SRC_TGZ" + cd "$PKGVER" + cabal configure --enable-tests + cabal build cd $ORIGDIR done ;;