From 77c06972c65bc2abddc9337b5d187f786d605c9f Mon Sep 17 00:00:00 2001 From: q66 Date: Fri, 1 Jan 2021 14:33:10 +0100 Subject: [PATCH] ghc: fix bindist option --- srcpkgs/ghc/template | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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 }