From 5fb3b0dcf38bc97fd60201cfa8290cfd555a8a36 Mon Sep 17 00:00:00 2001 From: Laszlo Valko Date: Wed, 7 Oct 2020 01:51:10 +0200 Subject: [PATCH] Fixed font-custom eclass. --- eclass/font-custom.eclass | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/eclass/font-custom.eclass b/eclass/font-custom.eclass index bfcd7ae..76366fe 100644 --- a/eclass/font-custom.eclass +++ b/eclass/font-custom.eclass @@ -11,12 +11,14 @@ SLOT="0" FONT_SUFFIX="ttf" # Working directory containing the fonts. -FONT_S="${WORKDIR}" +S="${WORKDIR}/${PN}" +FONT_S="${S}" # No unpacking needed. font-custom_src_unpack() { + mkdir -p "${FONT_S}" for file in ${A}; do - cp "${DISTDIR}/$file" "${WORKDIR}/$file" + cp "${DISTDIR}/$file" "${FONT_S}/$file" done }