diff --git a/srcpkgs/ghc/template b/srcpkgs/ghc/template index 86af6494615..053814800d8 100644 --- a/srcpkgs/ghc/template +++ b/srcpkgs/ghc/template @@ -79,9 +79,9 @@ post_install() { if [ "$build_option_bindist" ]; then msg_normal "Creating binary distribution for ${XBPS_TARGET_MACHINE}...\n" make ${makejobs} binary-dist - dest="${XBPS_SRCDISTDIR}"/distfiles/ghc-${version}-void-linux-${XBPS_TARGET_LIBC}.tar.xz - install -d -m 0644 ghc-${version}-*-unknown-linux.tar.xz "${dest}" - msg_normal "Installed in ${dest}\n" + mkdir -p ${XBPS_SRCDISTDIR}/distfiles + install -m 0644 ghc-${version}-*-linux.tar.xz ${XBPS_SRCDISTDIR}/distfiles + exit 1 fi }