summaryrefslogtreecommitdiff
path: root/Dh_Haskell.sh
diff options
context:
space:
mode:
authorIustin Pop <iustin@debian.org>2015-06-01 22:24:14 +0200
committerIustin Pop <iustin@debian.org>2015-06-01 22:24:14 +0200
commitfca16f102af90c55a2b3934540aab3fad2faba4b (patch)
tree67ac959ad8d2f22b924bab19d4ba4db2a0bf90a5 /Dh_Haskell.sh
parent1ce1f8744071733089c4390e9d4fa1cb5235209d (diff)
Fix bug in extra-packages handling
Diffstat (limited to 'Dh_Haskell.sh')
-rw-r--r--Dh_Haskell.sh5
1 files changed, 3 insertions, 2 deletions
diff --git a/Dh_Haskell.sh b/Dh_Haskell.sh
index 2e00e18..ca459c6 100644
--- a/Dh_Haskell.sh
+++ b/Dh_Haskell.sh
@@ -449,8 +449,9 @@ install_dev_recipe(){
run install -Dm 644 $pkg_config debian/${PKG}/${pkgdir}/$pkg_config
run rm -f $pkg_config
if [ "z${DEB_GHC_EXTRA_PACKAGES}" != "z" ] ; then
- run mkdir -p debian/$(notdir $@)/usr/lib/haskell-packages/extra-packages
- echo '${DEB_GHC_EXTRA_PACKAGES}' > debian/${PKG}/usr/lib/haskell-packages/extra-packages/${CABAL_PACKAGE}-${CABAL_VERSION}
+ EP_DIR=debian/${PKG}/usr/lib/haskell-packages/extra-packages
+ run mkdir -p $EP_DIR
+ echo "${DEB_GHC_EXTRA_PACKAGES}" > ${EP_DIR}/${CABAL_PACKAGE}-${CABAL_VERSION}
fi
grep -s binary-or-shlib-defines-rpath ${DEB_LINTIAN_OVERRIDES_FILE} \