From: William Hubbs Date: Tue, 11 Aug 2015 20:08:23 +0000 (-0500) Subject: golang-vcs-snapshot.eclass: typo fix X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=198665437578804b77b48d20b883c1cd3ea8ae33;p=gentoo.git 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. --- 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 }