From f2118ab6bebb63f8fb5de3c3e21a65dca1817129 Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Thu, 9 May 2013 16:09:43 -0400 Subject: [PATCH] bugfix --- standalone/android/install-haskell-packages | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) diff --git a/standalone/android/install-haskell-packages b/standalone/android/install-haskell-packages index 4e3afae64a..f9b34acb3c 100755 --- a/standalone/android/install-haskell-packages +++ b/standalone/android/install-haskell-packages @@ -45,22 +45,18 @@ patched () { } unpatched () { - if [ "$native" ]; then - cabalinstall "$@" - else - cabalinstall "$@" - fi + cabalinstall "$@" } onlycross () { if [ ! "$native" ]; then - eval $@ + eval "$@" fi } onlynative () { if [ "$native" ]; then - eval $@ + eval "$@" fi } @@ -153,7 +149,7 @@ install_pkgs () { patched yesod-static 1.1.2 unpatched ifelse-0.85 unpatched SafeSemaphore-0.9.0 - onlycross unpatched bloomfilter-1.2.6.10 --constraint 'bytestring >= 0.10.3.0' + if [ ! "$native" ]; then cabal install bloomfilter-1.2.6.10 --constraint 'bytestring >= 0.10.3.0'; fi onlynative unpatched bloomfilter-1.2.6.10 unpatched edit-distance-0.2.1.2 unpatched uuid-1.2.12