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 cd standalone/android
fi fi
cabalopts="$@"
setupcabal () { setupcabal () {
cabal update cabal update
@ -54,7 +52,7 @@ patched () {
done done
ln -sf ../../cabal.config ln -sf ../../cabal.config
cabal install "$@" "$cabalopts" cabal install "$@"
rm -f cabal.config rm -f cabal.config
rm -rf $pkg* rm -rf $pkg*