Skip to content
Browse files

Travis: unbreak the build.

Hopefully.
  • Loading branch information...
1 parent da76ebd commit e8b4d32822d34b813b9c6abf7e477b7016ec033f @23Skidoo 23Skidoo committed Feb 9, 2014
Showing with 3 additions and 4 deletions.
  1. +3 −4 .travis.yml
View
7 .travis.yml
@@ -35,11 +35,10 @@ script:
# The following scriptlet checks that the resulting source distribution can be built & installed
- function install_from_tarball {
export SRC_TGZ=$(cabal-1.18 info . | awk '{print $2 ".tar.gz";exit}') ;
- cd dist/;
- if [ -f "$SRC_TGZ" ]; then
- cabal-1.18 install "$SRC_TGZ";
+ if [ -f "dist/$SRC_TGZ" ]; then
+ cabal-1.18 install "dist/$SRC_TGZ";
else
- echo "expected '$SRC_TGZ' not found";
+ echo "expected 'dist/$SRC_TGZ' not found";
exit 1;
fi
}

0 comments on commit e8b4d32

Please sign in to comment.
Something went wrong with that request. Please try again.