fix build failure with empty parameter

This commit is contained in:
Joey Hess 2014-10-15 11:19:14 -04:00
parent 347d14c0d7
commit 6b08fdc818

View file

@ -15,8 +15,6 @@ if [ ! -d haskell-patches ]; then
cd standalone/android
fi
cabalopts="$@"
setupcabal () {
cabal update
@ -54,7 +52,7 @@ patched () {
done
ln -sf ../../cabal.config
cabal install "$@" "$cabalopts"
cabal install "$@"
rm -f cabal.config
rm -rf $pkg*