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
|
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*
|
||||||
|
|
Loading…
Reference in a new issue