Gentoo Archives: gentoo-dev

From: "Sérgio Almeida" <mephx.x@×××××.com>
To: Gentoo Dev <gentoo-dev@l.g.o>
Subject: Re: [gentoo-dev] Re: Progress on Universal Select Tool
Date: Wed, 15 Jul 2009 15:43:24
Message-Id: 1247672590.6548.9.camel@thedude
1 On Tue, 2009-07-14 at 17:07 +0200, Michael Haubenwallner wrote:
2 >
3 > Usually the files are just copied instead of symlinked there.
4 >
5 > But as far as I know, there is no Unix-ish OS without symlink support -
6 > even Interix does support them.
7 > Although I cannot definitively say we won't have to select between
8 > multiple executables and/or shared libraries for native Windows once -
9 > they would have to be copied instead of symlinked then.
10 >
11 > So it should be fine as long as 'symlink' can potentially be implemented
12 > as 'copy' for specific platforms.
13 >
14
15 Can be done...
16
17 def create_symlink(self, source, destination):
18 self.delete_file(destination)
19 os.symlink(source, destination)
20
21 Therefore can be easily replaced for copy. What should be the default?
22 Should uselect be able to supply both options like "uselect --copy bla
23 bla" overrides os.symlink to copy function?
24
25 > Thanks!
26 > /haubi/
27
28 Thanks for the hint!
29
30 Cheers,
31 Sérgio
32 --
33 Sérgio Almeida - mephx.x@×××××.com
34 mephx @ freenode

Attachments

File name MIME type
signature.asc application/pgp-signature

Replies

Subject Author
Re: [gentoo-dev] Re: Progress on Universal Select Tool Michael Haubenwallner <haubi@g.o>