commit: 198665437578804b77b48d20b883c1cd3ea8ae33
Author: William Hubbs <williamh <AT> gentoo <DOT> org>
AuthorDate: Tue Aug 11 20:08:23 2015 +0000
Commit: William Hubbs <williamh <AT> gentoo <DOT> org>
CommitDate: Tue Aug 11 20:12:44 2015 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=19866543
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 1cf5a56..8ebb36e 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
}