haskell/haskell-platform — pull request #127 by gleber (2014-07-23 00:11:44+00:00)
Title: Make platform.sh sensitive to all failures

Without "set -e", if you run this script using older cabal, it might continue running after failing to create a sandbox, which would install hptool's dependencies into user's local cabal installation.