ctndiaye / luke

Automatically exported from code.google.com/p/luke
0 stars 0 forks source link

luke tarball needs to extract to a "luke" directory #21

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Download luke tar ball
2. Extract - e.g. tar xvfz luke-src-1.0.1.tgz
3.

What is the expected output? What do you see instead?

- Expect: to have the content extracted to a luke-src-1.0.1 dir
- Actual: contents of the tarball are extracted with no sub-dir, this is messy

What version of the product are you using? On what operating system?

1.0.1

Please provide any additional information below.

Thanks.

Original issue reported on code.google.com by bevan.ko...@gmail.com on 23 Jun 2010 at 10:11

GoogleCodeExporter commented 9 years ago
In build.xml

                <tar compression="gzip" destfile="${srctgz}">
                        <tarfileset dir=".">
                                <patternset refid="distfiles"/>
                        </tarfileset>
                </tar>

Add a prefix="luke-${build.ver}"

                <tar compression="gzip" destfile="${srctgz}">
                        <tarfileset dir="." prefix="luke-${build.ver}">
                                <patternset refid="distfiles"/>
                        </tarfileset>
                </tar>

Original comment by Photod...@gmail.com on 26 Jul 2010 at 7:41

GoogleCodeExporter commented 9 years ago
I applied the patch with some changes, to fix also the zip target, in rev. 60 
(branch-3x) and rev. 61 (trunk). Thank you!

Original comment by sig...@gmail.com on 27 Apr 2011 at 11:04