Gentoo Archives: gentoo-dev

From: Torsten Veller <ml-en@××××××.net>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] wwwoffle ebuild problem with tar commmand on symbolic links
Date: Fri, 02 Jan 2004 16:38:06
Message-Id: 20040102171401.GA817ba.tv@veller.net
In Reply to: [gentoo-dev] wwwoffle ebuild problem with tar commmand on symbolic links by Torsten Veller
1 * Torsten Veller <ml-en@××××××.net>:
2
3 > Is this a portage problem?
4
5 Yes, it is. Let's see what happens:
6
7 - Generate a tar with symbolic links older and younger than the target.
8
9 # mkdir test && cd test && touch 1 && ln -s 1 2 && ln -s 3 4 && touch 3 && cd ..
10 # tar -cf test.tar test
11
12 - Write an ebuild script:
13
14 # Copyright 1999-2004 Gentoo Technologies, Inc.
15 # Distributed under the terms of the GNU General Public License v2
16 # $Header: $
17 DESCRIPTION=""
18 HOMEPAGE=""
19 SRC_URI=""
20 LICENSE=""
21 SLOT="0"
22 KEYWORDS="~x86"
23 IUSE=""
24 DEPEND=""
25
26 src_install() {
27 cd ${D} && tar -xpf ${FILESDIR}/test.tar && touch uiuiui
28 }
29
30 - see that no uiuiui is generated.
31
32 --
33 .: Torsten Veller | A sine curve goes off to infinity :.
34 .: PGP 0x9C67CD96 | or at least the end of the blackboard :.
35
36 --
37 gentoo-dev@g.o mailing list