diff options
author | Arthur Zamarin <arthurzam@gentoo.org> | 2022-09-03 14:46:29 +0300 |
---|---|---|
committer | Arthur Zamarin <arthurzam@gentoo.org> | 2022-09-12 22:14:30 +0300 |
commit | a04d8578e36fdda4073eb947a37f251ed6d90a44 (patch) | |
tree | 01de603fd0a9a728e7e5cb0b80cacd696c4efab5 /eclass | |
parent | gstreamer-meson.eclass: fix UnquotedVariable of BUILD_DIR (diff) | |
download | gentoo-a04d8578e36fdda4073eb947a37f251ed6d90a44.tar.gz gentoo-a04d8578e36fdda4073eb947a37f251ed6d90a44.tar.bz2 gentoo-a04d8578e36fdda4073eb947a37f251ed6d90a44.zip |
haskell-cabal.eclass: fix UnquotedVariable of EPREFIX
Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
Diffstat (limited to 'eclass')
-rw-r--r-- | eclass/haskell-cabal.eclass | 6 |
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 |