ghc: fix bindist option
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user