1 |
commit: 13ea9a44e5db8412c10fd40387c4cd4b17b79633 |
2 |
Author: Nicolas Bigaouette <nbigaouette <AT> gmail <DOT> com> |
3 |
AuthorDate: Wed Apr 25 18:20:03 2012 +0000 |
4 |
Commit: Justin Lecher <jlec <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Apr 25 19:05:33 2012 +0000 |
6 |
URL: http://git.overlays.gentoo.org/gitweb/?p=proj/sci.git;a=commit;h=13ea9a44 |
7 |
|
8 |
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). |
9 |
|
10 |
--- |
11 |
eclass/intel-sdp.eclass | 2 +- |
12 |
1 files changed, 1 insertions(+), 1 deletions(-) |
13 |
|
14 |
diff --git a/eclass/intel-sdp.eclass b/eclass/intel-sdp.eclass |
15 |
index 1d986b1..932466b 100644 |
16 |
--- a/eclass/intel-sdp.eclass |
17 |
+++ b/eclass/intel-sdp.eclass |
18 |
@@ -97,7 +97,7 @@ intel-sdp_src_unpack() { |
19 |
# TODO: need to find a fast way to find the rpmdir |
20 |
# in some cases rpms are in rpms/, in other cases in rpm/ |
21 |
# tar tvf is too slow for 1.4G tar balls |
22 |
- rpmdir=${t%.tgz}/rpm |
23 |
+ rpmdir=${t%%.*}/rpm |
24 |
for r in ${INTEL_RPMS}; do |
25 |
einfo "Unpacking ${r}" |
26 |
l=.${r}_$(date +'%d%m%y_%H%M%S').log |