1 |
On 08/04/03 splite-gentoo@××××××××××××××××.edu wrote: |
2 |
|
3 |
> On Mon, Aug 04, 2003 at 03:32:28PM +0200, Marius Mauch wrote: |
4 |
> > |
5 |
> > It's fixed in current 49_pre versions. And only using bunzip2 won't |
6 |
> > work as it only decompresses the package, but it does not untar it. |
7 |
> > You have to send the uncompressed tarball to tar. The fixed line is |
8 |
> > notok=spawn("bzip2 -dc "+mytbz2+" | tar xpf -",free=1) |
9 |
> |
10 |
> Why not: |
11 |
> notok=spawn("tar xpjf "+mytbz2,free=1) |
12 |
|
13 |
I didn't fix it so I can only guess: the -j option for tar is a GNU |
14 |
extension and portage aims at OS compatibility with *BSD, MacOS and |
15 |
cygwin, these systems are not using GNU tar by default. The pipe |
16 |
solutions should work on all these systems. |
17 |
|
18 |
Marius |
19 |
|
20 |
-- |
21 |
Public Key at http://www.genone.de/info/gpg-key.pub |
22 |
|
23 |
In the beginning, there was nothing. And God said, 'Let there be |
24 |
Light.' And there was still nothing, but you could see a bit better. |
25 |
|
26 |
-- |
27 |
gentoo-dev@g.o mailing list |