diff options
| author | Joey Hess <joey@kitenet.net> | 2014-04-24 00:45:39 -0400 |
|---|---|---|
| committer | Joey Hess <joey@kitenet.net> | 2014-04-24 00:45:39 -0400 |
| commit | 6213bc058b966bf405ec1c88e6b3b47212bab519 (patch) | |
| tree | e2ba8fbfab69b93d12a17dc5a4ac1fbf76c4d0d8 | |
| parent | 120254bf7e0c7cf42296cbcf3e82e63e6c478df2 (diff) | |
avoid unnecessary use of cabal
| -rw-r--r-- | Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -11,7 +11,7 @@ build: dist/setup-config deps: @if [ $$(whoami) = root ]; then apt-get --no-upgrade --no-install-recommends -y install gnupg ghc cabal-install libghc-missingh-dev libghc-ansi-terminal-dev libghc-ifelse-dev libghc-unix-compat-dev libghc-hslogger-dev libghc-network-dev libghc-quickcheck2-dev libghc-mtl-dev libghc-monadcatchio-transformers-dev; fi || true - @if [ $$(whoami) = root ]; then apt-get --no-upgrade --no-install-recommends -y install libghc-async-dev || cabal update; cabal install async; fi || true + @if [ $$(whoami) = root ]; then apt-get --no-upgrade --no-install-recommends -y install libghc-async-dev || (cabal update; cabal install async); fi || true dist/setup-config: propellor.cabal if [ "$(CABAL)" = ./Setup ]; then ghc --make Setup; fi |
