summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorJoey Hess2014-04-24 00:45:39 -0400
committerJoey Hess2014-04-24 00:45:39 -0400
commit6213bc058b966bf405ec1c88e6b3b47212bab519 (patch)
treee2ba8fbfab69b93d12a17dc5a4ac1fbf76c4d0d8 /Makefile
parent120254bf7e0c7cf42296cbcf3e82e63e6c478df2 (diff)
avoid unnecessary use of cabal
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index e53de8c5..7f4833fc 100644
--- a/Makefile
+++ b/Makefile
@@ -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