aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNicolas Bigaouette <nbigaouette@gmail.com>2012-04-25 14:20:03 -0400
committerNicolas Bigaouette <nbigaouette@gmail.com>2012-04-25 15:05:33 -0400
commit13ea9a44e5db8412c10fd40387c4cd4b17b79633 (patch)
treef7f0533fe76c9962bdf013d04f9f4e918345afd9 /eclass/intel-sdp.eclass
parentMerge branch 'master' of git+ssh://git.overlays.gentoo.org/proj/sci (diff)
downloadsci-13ea9a44e5db8412c10fd40387c4cd4b17b79633.tar.gz
sci-13ea9a44e5db8412c10fd40387c4cd4b17b79633.tar.bz2
sci-13ea9a44e5db8412c10fd40387c4cd4b17b79633.zip
Matching the archive for ".tgz" specifically breaks VTune which has .tar.gz as archive. Instead, remove everything after the first dot (the .tar.gz or .tgz part).
Diffstat (limited to 'eclass/intel-sdp.eclass')
-rw-r--r--eclass/intel-sdp.eclass2
1 files changed, 1 insertions, 1 deletions
diff --git a/eclass/intel-sdp.eclass b/eclass/intel-sdp.eclass
index 1d986b1bd..932466b95 100644
--- a/eclass/intel-sdp.eclass
+++ b/eclass/intel-sdp.eclass
@@ -97,7 +97,7 @@ intel-sdp_src_unpack() {
# TODO: need to find a fast way to find the rpmdir
# in some cases rpms are in rpms/, in other cases in rpm/
# tar tvf is too slow for 1.4G tar balls
- rpmdir=${t%.tgz}/rpm
+ rpmdir=${t%%.*}/rpm
for r in ${INTEL_RPMS}; do
einfo "Unpacking ${r}"
l=.${r}_$(date +'%d%m%y_%H%M%S').log