summaryrefslogtreecommitdiff
path: root/eclass/haskell-cabal.eclass
diff options
context:
space:
mode:
Diffstat (limited to 'eclass/haskell-cabal.eclass')
-rw-r--r--eclass/haskell-cabal.eclass6
1 files changed, 3 insertions, 3 deletions
diff --git a/eclass/haskell-cabal.eclass b/eclass/haskell-cabal.eclass
index 732ea83e653c..0f7f67a244d7 100644
--- a/eclass/haskell-cabal.eclass
+++ b/eclass/haskell-cabal.eclass
@@ -390,9 +390,9 @@ cabal-configure() {
# it generates for ghc's base and other packages.
local p=${EPREFIX}/usr/bin/haddock-ghc-$(ghc-version)
if [[ -f $p ]]; then
- cabalconf+=(--with-haddock="${p}")
+ cabalconf+=( --with-haddock="${p}" )
else
- cabalconf+=(--with-haddock=${EPREFIX}/usr/bin/haddock)
+ cabalconf+=( --with-haddock="${EPREFIX}"/usr/bin/haddock )
fi
fi
if [[ -n "${CABAL_USE_PROFILE}" ]] && use profile; then
@@ -702,7 +702,7 @@ cabal_src_install() {
# if it does not exist (dummy libraries and binaries w/o libraries)
local ghc_confdir_with_prefix="$(ghc-confdir)"
# remove EPREFIX
- dodir ${ghc_confdir_with_prefix#${EPREFIX}}
+ dodir "${ghc_confdir_with_prefix#${EPREFIX}}"
local hint_db="${D}/$(ghc-confdir)"
local hint_file="${hint_db}/gentoo-empty-${CATEGORY}-${PF}.conf"
mkdir -p "${hint_db}" || die