fix build failure with empty parameter
This commit is contained in:
parent
347d14c0d7
commit
6b08fdc818
1 changed files with 1 additions and 3 deletions
|
@ -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*
|
||||
|
|
Loading…
Reference in a new issue