Gentoo Archives: gentoo-portage-dev

From: Jeff Smelser <tradergt@×××××××.org>
To: gentoo-portage-dev@l.g.o
Subject: Re: [gentoo-portage-dev] emerge feature request: Downloads managed by lock file system
Date: Sat, 07 Feb 2004 22:07:36
Message-Id: 200402071607.27581.tradergt@smelser.org
In Reply to: Re: [gentoo-portage-dev] emerge feature request: Downloads managed by lock file system by Sven Vermeulen
1 -----BEGIN PGP SIGNED MESSAGE-----
2 Hash: SHA1
3
4 On Saturday 07 February 2004 11:17 am, Sven Vermeulen wrote:
5 > A quick 'n dirty hack in the FETCHCOMMAND should suffice. Something along
6 > the lines of (pseudocode):
7 >
8 > FETCHCOMMAND="if exists \${DISTDIR}/`basename \${URL}.lck`; then skip; else
9 > \ touch \${DISTDIR}/`basename \${URL}.lck`; \
10 > /usr/bin/wget ...; \
11 > rm \${DISTDIR}/`basename \${URL}.lck`; fi"
12
13 I tried this, and got:
14
15 Calculating world dependencies ...done!
16 >>> emerge (1 of 4) net-libs/c-client-2002e-r2 to /
17 >>> Downloading http://gentoo.oregonstate.edu/distfiles/imap-2002e.tar.Z
18 [c-client-2002e-r2] bash: line 1: exists: command not found
19 [c-client-2002e-r2] bash: line 2:  : command not found
20 [c-client-2002e-r2] bash: line 3:  : command not found
21 [c-client-2002e-r2] bash: line 4:  : command not found
22 >>> Downloading
23 http://distro.ibiblio.org/pub/Linux/distributions/gentoo/distfiles/imap-2002e.tar.Z
24 [c-client-2002e-r2] bash: line 1: exists: command not found
25 [c-client-2002e-r2] bash: line 2:  : command not found
26 [c-client-2002e-r2] bash: line 3:  : command not found
27 [c-client-2002e-r2] bash: line 4:  : command not found
28 >>> Downloading ftp://ftp.cac.washington.edu/imap/imap-2002e.tar.Z
29 [c-client-2002e-r2] bash: line 1: exists: command not found
30 [c-client-2002e-r2] bash: line 2:  : command not found
31 [c-client-2002e-r2] bash: line 3:  : command not found
32 [c-client-2002e-r2] bash: line 4:  : command not found
33 !!! Couldn't download imap-2002e.tar.Z. Aborting.
34
35
36 - --
37 Failure is not an option. It comes bundled with your Microsoft product.
38 -----BEGIN PGP SIGNATURE-----
39 Version: GnuPG v1.2.3 (GNU/Linux)
40
41 iD8DBQFAJWGfld4MRA3gEwYRAnLwAJ9WgjQRUWddfcpn5yaGPiRV0KPeZQCcC+9G
42 2U0sZY2CXBiSVEvurcPBNkk=
43 =wbaz
44 -----END PGP SIGNATURE-----
45
46
47 --
48 gentoo-portage-dev@g.o mailing list

Replies

Subject Author
Re: [gentoo-portage-dev] emerge feature request: Downloads managed by lock file system Thomas Horsten <thomas@×××××××.com>