summaryrefslogtreecommitdiff
path: root/standalone/android/install-haskell-packages
diff options
context:
space:
mode:
authorGravatar Joey Hess <joey@kitenet.net>2013-09-22 19:30:44 -0400
committerGravatar Joey Hess <joey@kitenet.net>2013-09-22 19:30:44 -0400
commit5044d03d6dc437dd25514b083cabf1ba4b14f1fe (patch)
treec1885450e70eb40d3bd9bb2a11f4a29128ca9819 /standalone/android/install-haskell-packages
parentd50ed3a409609f2e7765a4083289bfe09c122c3f (diff)
cabal install from local git-annex cabal file
Diffstat (limited to 'standalone/android/install-haskell-packages')
-rwxr-xr-xstandalone/android/install-haskell-packages8
1 files changed, 5 insertions, 3 deletions
diff --git a/standalone/android/install-haskell-packages b/standalone/android/install-haskell-packages
index 8bf7981dc..3b1b7bf88 100755
--- a/standalone/android/install-haskell-packages
+++ b/standalone/android/install-haskell-packages
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Bootstraps from an empty cabal to all the necessary haskell packages
# being installed, with the necessary patches to work on Android.
#
@@ -46,8 +46,10 @@ patched () {
}
installgitannexdeps () {
- echo cabal install git-annex --only-dependencies
- cabal install git-annex --only-dependencies "$@"
+ pushd ../..
+ echo cabal install --only-dependencies
+ cabal install --only-dependencies "$@"
+ popd
}
install_pkgs () {