From 198665437578804b77b48d20b883c1cd3ea8ae33 Mon Sep 17 00:00:00 2001 From: William Hubbs Date: Tue, 11 Aug 2015 15:08:23 -0500 Subject: [PATCH] golang-vcs-snapshot.eclass: typo fix This follows from my previous commit to the golang-vcs.eclass. ${EGO_PN%/*} should be replaced with ${EGO_PN%/...} since we only want to strip off "/..." from the end of the path. --- eclass/golang-vcs-snapshot.eclass | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/eclass/golang-vcs-snapshot.eclass b/eclass/golang-vcs-snapshot.eclass index 1cf5a56e7160..8ebb36e27d21 100644 --- a/eclass/golang-vcs-snapshot.eclass +++ b/eclass/golang-vcs-snapshot.eclass @@ -50,7 +50,7 @@ golang-vcs-snapshot_src_unpack() { ego_pn_check set -- ${A} x="$1" - mkdir -p "${WORKDIR}/${P}/src/${EGO_PN%/*}" || die - tar -C "${WORKDIR}/${P}/src/${EGO_PN%/*}" -x --strip-components 1 \ + mkdir -p "${WORKDIR}/${P}/src/${EGO_PN%/...}" || die + tar -C "${WORKDIR}/${P}/src/${EGO_PN%/...}" -x --strip-components 1 \ -f "${DISTDIR}/${x}" || die } -- 2.26.2